Before I start putting anyone on my server, I'd like to upgrade to php5 as php4 will no long be developed after Dec 31, 2007.
I'm not exactly comfortable yet with ssh but would am asking for detailed instructions on how to upgrade. Also, are there any issues I might need to know about, besides the php4 specific programming? Will a DA update overwrite these changes?
I found these instructions, here:
I'm not sure of the instructions after 'Coment Out'. The above is said to work great. Can some one please elaborate further? Or would anyone be interested in doing the upgrade for me? I want to learn, but I don't want this to be a long drawn-out process.
Thanks
rob
I'm not exactly comfortable yet with ssh but would am asking for detailed instructions on how to upgrade. Also, are there any issues I might need to know about, besides the php4 specific programming? Will a DA update overwrite these changes?
I found these instructions, here:
cd /usr/local/directadmin/customapache
rm -f configure.php
./build clean
./build update
nano -w ./build - change php version number
wget http://ch2.php.net/get/php-5.2.0.tar...php.net/mirror
tar xzf php-5.2.0.tar.gz
cd php-5.2.0
/usr/local/directadmin/customapache/configure.php
make
make install
nano -w /etc/httpd/conf/httpd.conf
Coment out
#<IfDefine HAVE_PHP4>
#LoadModule php4_module modules/libphp4.so
#</IfDefine>
#LoadModule php4_module /usr/lib/apache/libphp4.so
###<IfDefine HAVE_PHP4>
#AddModule mod_php4.c
###</IfDefine>
Change
<IfModule mod_php4.c> to
<IfModule mod_php5.c>
/etc/rc.d/init.d/httpd restart
I'm not sure of the instructions after 'Coment Out'. The above is said to work great. Can some one please elaborate further? Or would anyone be interested in doing the upgrade for me? I want to learn, but I don't want this to be a long drawn-out process.
Thanks
rob