"john_liu" <john_liu RemoveThis @charter.net> schreef in bericht
news:10mk0evjpnfdu56@corp.supernews.com...
> "x" <x RemoveThis @y.com> ???? news:7Nmad.30135$cN6.29174@lakeread02...
> > LoadModule php4_module modules/libphp4.so
> > Make sure that it is not commented out with a "#".
> > Also make sure you have an AddType somewhere in your httpd.conf file.
> > AddType application/x-httpd-php php
> My file is named as index.html. I changed it to index.php and did not work
> either.
> I checked the information you pointed out. The following is what I got in
> httpd.conf:
> <IFDEFINE HAVE_PHP4>
> LoadModule php4_module modules/libphp4.so
> </IFDEFINE>
> <IfModule mod_php4.c>
> AddType application/x-httpd-php .php .php4 .php3 .phtml
> AddType application/x-httpd-php-source .phps
> </IfModule>
<IFDEFINE HAVE_PHP4>...
.... to get the php4_module loaded apache requires a commond line parameter
'-DHAVE_PHP4'
Removing the lines <IFDEFINE HAVE_PHP4> and </IFDEFINE> will do too.
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/mod/core.html#ifdefine" target="_blank">http://httpd.apache.org/docs-2.0/mod/core.html#ifdefine</a>
<a style='text-decoration: underline;' href="http://httpd.apache.org/docs-2.0/programs/httpd.html" target="_blank">http://httpd.apache.org/docs-2.0/programs/httpd.html</a>
HansH<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: How to configure php on apache