Index: [Article Count Order] [Thread]

Date:  Fri, 15 Aug 2008 09:52:49 -0400
From:  Jeremy Knope <jerome (at mark) rainstormconsulting.com>
Subject:  [coba-e:13733] Re: Php Upgrade (and SQL)
To:  coba-e (at mark) bluequartz.org
Message-Id:  <E8231084-669A-40EE-BD84-846892964445 (at mark) rainstormconsulting.com>
In-Reply-To:  <00ad01c8fc98$78582410$69086c30$@net>
References:  <20080812155248.M92174 (at mark) domain-nameit.net> <00ad01c8fc98$78582410$69086c30$ (at mark) net>
X-Mail-Count: 13733

Just wanted to chime in with my method too, I don't actually use a  
repository, so if you're comfortable with compiling PHP, it's pretty  
painless and it doesn't interfere with the PHP 4 already installed.   
By default it'll install in /usr/local/ so it won't overwrite  
anything.  After I build & install it, I just have to tweak the  
configuration of the regular apache to not load php4 (the php make  
install usually adds a loadmodule for php5) otherwise it'll crash.   
That's pretty much it, I can of course go into details of how I  
compile PHP if someone is interested too.  But I haven't had a problem  
with it, admserv continues using the already installed php4 that's in / 
usr.
  -- Jeremy

On Aug 12, 2008, at 12:28 PM, Paul wrote:

> To be honest, i'm not sure what all the black magic is about....  
> this is how
> i did it (for the sake of completeness...)
> I figure if i can do it, anyone can!
>
>
> I needed to update to php 5.1.6 first (using centosplus repository)  
> and than
> update to 5.2.5 (using atomic repository).
> for people who also have BlueQuartz installed, this is how I managed  
> to
> update PHP without losing BQ Administrator functionality:
>
> Create a separate directory for the admin server modules.
>
> cd /usr/lib
> mkdir admserv
> cd admserv
>
> lets copy the needed stuff over there
>
> cp -R ../httpd/* ./
> cp -R ../php4 ./
>
> edit /etc/admserv/conf.d/php.conf and change the php4_module line  
> into this:
>
> LoadModule php4_module /usr/lib/admserv/modules/libphp4.so
>
> tell PHP4 where his modules can be found by editing /etc/admserv/ 
> php.ini
>
> extension_dir = /usr/lib/admserv/php4
>
> Let's test it by restarting the admin server.
>
> /etc/rc.d/init.d/admserv restart
>
> If all goes fine, we can start by modifying the YUM repository.
>
> pico -w /etc/yum.repos.d/CentOS-Base.repo
>
> enable the centosplus server, save and update using yum
>
> yum update
>
> if you restart apache at this moment, you probably get a syntax  
> error...
>
> pico -w /etc/httpd/conf.d/ssl_perl.conf
>
> change the perlsection to this:
>
> use Apache2::PerlSections();
>
> Save the file, and restart your main server by doing:
>
> /etc/rc.d/init.d/httpd restart
>
> after this, update using the atomic repository:
>
> wget -q -O - http://www.atomicorp.com/installers/atomic |sh
>
> then do a:
>
> Yum Update
>
> Thats it. You might need to change the following if your pages  
> prompt you to
> download rather than display the page....
>
> In httpd.conf, look for the line that says...
>
> <IfModule dir_module>
> DirectoryIndex index.html
> </IfModule>
>
> ...and change it to...
>
> <IfModule dir_module>
> DirectoryIndex index.php index.html
> </IfModule>
>
> And MAYBE....
>
> AddType application/x-httpd-php .php .php4 .php3
> AddType application/x-httpd-php-source .phps
>
>
>
> Thats it. All works nicely!!!
>
> Paul
>
>
> -----Original Message-----
> From: Kenneth Allan [mailto:kenneth (at mark) domain-nameit.net]
> Sent: 12 August 2008 16:56
> To: coba-e (at mark) bluequartz.org
> Subject: [coba-e:13724] Re: Php Upgrade (and SQL)
>
> Don't mess with the PHP, The BQ GUI requires v4x.
> Use the nuonce PHP upgrades only.
>
> --
> Open Source Listserver Mirror Archives http://www.bluequartz.us
> Domain Names at wholesale prices http://www.domain-nameit.net
> Domain Name Reseller Program http://www.domain-nameit.net/ 
> reseller.html
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>