Hi,
I'm trying to upgrade from PHP4 to PHP5 in a Red Hat Enterprise Linux. I downloaded the tar.gz from php.net. Then I did the:
./configure
--with-apxs2=/usr/local/apache2/bin/apxs
--with-zlib
--with-openssl
--with-gd
--with-jpeg
--with-png
--with-mysql
--enable-sockets
make
/etc/rc.d/ini.d/httpd stop
make INSTALL
/etc/rc.d/ini.d/httpd start
Our webserver has apache 2.0.52 that came with the distribution. In the instructions to configure the apache for php it says:
Edit your httpd.conf to load the PHP module. The path on the right hand
side of the LoadModule statement must point to the path of the PHP
module on your system. The make install from above may have already
added this for you, but be sure to check.
For PHP 5:
LoadModule php5_module libexec/libphp5.so
I find the libphp5.so in /usr/local/apache2/modules.
But I can't make PHP4 upgrade to PHP5. 😕
I also made a script to help me check if php already upgraded.
<?php
phpinfo();
?>
Is there any other way to upgrage PHP4 to PHP5?
Please I need a step-by-step procedure for this..
Many thanks!
Lulu