Click to See Complete Forum and Search --> : No PHP w/ Apache, Slackware 8


dvd
07-16-2001, 05:58 PM
To enable PHP, I uncommented the line:

Include /etc/apache/mod_php.conf

in httpd.conf. Now, when trying to start Apache I get the error:

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

mod_php.conf contains this:

LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c

AddType application/x-httpd-php .php


I've tried using the full path to libphp4.so, but it doesn't work either way. (libphp4.so is where it's supposed to be.)

--D