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
compatible with this version of Apache. <<<httpd: module "/usr/local/src/php-4.3.1/sapi/apachefilter/sapi_apache2.c" is not
as running
apachectl start <<<
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, Sebastian
-- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php