[thelist] Apache2 & PHP Tip

Burhan Khalid burhankhalid at members.evolt.org
Fri Jun 14 15:26:02 CDT 2002


<tip author="Burhan Khalid" type="Apache2 & PHP">

	If you can't get PHP running as an SAPI module
under Apache2 on Windows, try adding this to your
httpd.conf :

LoadModule php4_module "c:/php/sapi/php4apache2.dll"
#AddModule mod_php4.c
AddType application/x-httpd-php .php

Comment out the AddModule part. It seems to choke on Apache2.
It doesn't recognize it as a valid config option. After 2 hours
of wrestling with it, I figured I'd save someone else the headache.

</tip>





More information about the thelist mailing list