Hi,
I'm trying to upgrade from PHP4 to PHP5 in a Red Hat Linux. I downloaded the tar.gz from php.net. Then I did the
./configure --with-mysql
make
make INSTALL
My webserver is the apache 1.3.x 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
But I can't find the libphp5.so anywhere. Is there anyother way to configure it. Also, the instructions say that you need to add
./configure --with-mysql --with-apxs=/www/bin/apxs But since the webserver is the apache that came with the distribution I'm not sure what the "apxs= " should point to.wherever the apxs binary is located on your system.
check /usr/bin, or /usr/local/bin. It's usually in the same place as the other apache binaries (apachectl, etc...)
I'm trying to upgrade from PHP4 to PHP5 in a Red Hat Linux. I downloaded the tar.gz from php.net. Then I did the
./configure --with-mysql
make
make INSTALL
My webserver is the apache 1.3.x 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
But I can't find the libphp5.so anywhere. Is there anyother way to configure it. Also, the instructions say that you need to add
./configure --with-mysql --with-apxs=/www/bin/apxs But since the webserver is the apache that came with the distribution I'm not sure what the "apxs= " should point to.wherever the apxs binary is located on your system.
check /usr/bin, or /usr/local/bin. It's usually in the same place as the other apache binaries (apachectl, etc...)