Re: Problems installing PHP 5 with Apache 2
| From: | Michael W. | Date: | Mon, 16 May 2005 23:17:43 +0000 |
| Subject: | Re: Problems installing PHP 5 with Apache 2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16131@lists.php.net to get a copy of this message | ||
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