Problem with Apache-2.0.44
| From: | Sebastian Muench | Date: | Tue, 25 Mar 2003 19:55:47 +0000 |
| Subject: | Problem with Apache-2.0.44 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-10412@lists.php.net to get a copy of this message | ||
Hi all,
I'm running a redhat 8.
I want to install a php-4.3.1 as a sapi module for apache-2.0.44. I worked as recommended in the php -docs.
Typed Commands:
1. tar xvfz httpd-2.0.44.tar.gz
2. tar xvfz php-4.3.1.tar.gz
3. cd httpd-2.0.44
4. ./configure --enable-so
5. make
6. make install
7. cd ../php-4.3.1
8. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
9. make
10. make install
11. cp php.ini-dist /usr/local/lib/php.ini
12. I added in the httpd.conf:
LoadModule php4_module /usr/local/apache2/modules/libphp4.so
AddType application/x-httpd-php .php
I get the message
as runninghttpd: module "/usr/local/src/php-4.3.1/sapi/apachefilter/sapi_apache2.c" is not compatible with this version of Apache. <<<
According to the php-manual it should work out with apache-2.0.40 or later versions. Are there any other changes in the httpd.conf or php.ini to do? Why do I find two httpd.conf files at my system. One is located at /etc/httpd/conf, the other one in the /usr/local/apache2/conf. Thanks for help, Sebastianapachectl start <<<