I had a similar problem when installing PHP 5.
libphp5.so is created by the compilation, but it is not created unless you tell it to. Add the following option to your ./configure command, and it should work: "--with-apxs2=/path/to/apache/bin/apxs" (minus the quotes).
StÃphane Bruno wrote:
Hello,
I have apache 2.0.54 running on Fedora Core 1. I installed PHP5 with the following command:
./configure --with-config-file-path=/etc --with-mysql=/usr/lib/mysql make make install
The installation went well, and I added the following to httpd.conf:
LoadModule php5_module libexec/libphp5.so
Unfortunately, when I restart apache, I receive the following error:
'Cannot load /etc/httpd/libexec/libphp5.so into server: /etc/httpd/libexec/libphp5.so: cannot open shared object file: No such file or directory'
When I issue the command 'locate libphp5.so', I find nothing. It is as if libphp5.so has not been installed from the tar ball.
Can anyone help me?
StÃphane