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.