mod_php på Apache (Linux)
Jeg har installeret Apache og mod_php fra en linux-cdrom, men når jeg inkludere min mod_php.conf, får jeg denne fejl, når jeg vil starte apache:root@chaos02:/# apachectl start
Syntax error on line 5 of /etc/apache/mod_php.conf:
Cannot load /usr/libexec/libphp4.so into server: cannot open shared object file: cannot load shared object file: No such file or directory
/usr/sbin/apachectl start: httpd could not be started
/usr/libexec/libphp4.so eksistrer...
Min mod_php.conf ser sådan ud:
#
# 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
Og er added til slutningen af httpd.conf med:
Include php_mod.conf
Hvad kan der være galt?