MikoLone
Technical User
- Jul 27, 2004
- 5
Currently my apache is set up with
DirectoryIndex index.htm
I want to add to the directoryIndex index.php so I do.
DirectoryIndex index.htm index.php
when I restart apache and the log says.
[Wed Oct 12 11:36:40 2005] [notice] SIGHUP received. Attempting to restart
Syntax error on line 195 of /conf/httpd.conf:
Cannot load /usr/lib/apache/modules/libphp4.so into server: Can't open file
Line 195 of the httpd.conf file is.
LoadModule php4_module /usr/lib/apache/modules/libphp4.so
So I commented that line out and start apache and it started fine. Then I try to go to the index.php file and it doesn't know what to do with it because php module isn't loaded.
I tried to add just index.html and I am having the same problem.
What I'm I doing wrong??
DirectoryIndex index.htm
I want to add to the directoryIndex index.php so I do.
DirectoryIndex index.htm index.php
when I restart apache and the log says.
[Wed Oct 12 11:36:40 2005] [notice] SIGHUP received. Attempting to restart
Syntax error on line 195 of /conf/httpd.conf:
Cannot load /usr/lib/apache/modules/libphp4.so into server: Can't open file
Line 195 of the httpd.conf file is.
LoadModule php4_module /usr/lib/apache/modules/libphp4.so
So I commented that line out and start apache and it started fine. Then I try to go to the index.php file and it doesn't know what to do with it because php module isn't loaded.
I tried to add just index.html and I am having the same problem.
What I'm I doing wrong??