I was wondering if anyone has encountered this problem.. I am new to the whole apache for windows scene. Anyway, I've managed to succesfully install Apache/2.0.39 under Windows XP on my HP OmniBook XE3 laptop in "c:\Apache2". After editing the httpd.conf file and adding the proper settings it seems to be working fine.
Getting PHP v4.2.1 to work in any which way or form (CGI, SAPI) however, will not work. I believe I have all the settings in the php.ini file ok.. Now I add the "LoadModule php4_module /php/sapi/php4apache2.dll" in my httpd.conf as well as the "AddType application/x-httpd-php .php" line. I've tried variations on the LoadModule line like "c:/Apache2/php/sapi/php4apache2.dll" and tried with the "php4apache.dll" as well. This pair of errors in the event log in XP will show when attempting to start the apache service:
======================================================
The Apache service named reported the following error:
Cannot load C:/Apache2/php/sapi/php4apache2.dll into server: The specified module could not be found. .
======================================================
And
The Apache service named reported the following error:
Syntax error on line 173 of C:/Apache2/conf/httpd.conf: .
======================================================
And sometimes I'll get this pair of errors in the event log:
======================================================
The Apache service named reported the following error:
Please contact the vendor for the correct version. .
======================================================
And
The Apache service named reported the following error:
Apache.exe: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not compatible with this version of Apache. .
======================================================
No mater what I try, this keeps showing up.. Can anyone help because I'm just POSITIVE this is something really really simple and stupid like a minute misconfiguration somewhere in some .ini or something.