Apache+php problem in Slack 9.0
Trying to get php working with Apache 1.3.27 in Slackware
9.0. Everything is setup correctly according to the install
instructions:
php.conf ( in /etc/apache ) contains:
#
# mod_php - PHP Hypertext Preprocessor module
#
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
# Tell Apache to feed all *.php files through the PHP module
AddType application/x-httpd-php .php
# This will display PHP files in colored syntax form. Use with caution.
#AddType application/x-httpd-php-source .phps
I don't have to uncomment the httpd.conf line:
Include /etc/apache/mod_php.conf
If I do I get the error message:
module mod_php4.c is already added, skipping
However, phptest.php will still not display anything ( <?php phpinfo(); ?> )
This works fine in Slack 8.0 which contains this very setup except that the
Include /etc/apache/mod_php.conf in httpd.conf is uncommented.
I have read that the contents of php.conf should be included in httpd.conf
so I tried that and it did work.
Does anyone know why this works this way and not with the standard setup?
TIA
|