I too am getting an error launching apache 2.0.43 with the php 4.2.3 module (not the CGI). I have Win98SE
My command is this:
Apache.exe -w -f "C:\Program Files\Apache Group\Apache2\conf\httpd.conf" -d "C:\Program Files\Apache Group\Apache2\."
The error is this:
Syntax error on line 978 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load F:/php/sapi/php4apache.dll into server: One of the library files
needed to run this application cannot be found.
Line 978 and on reads:
LoadModule php4_module "f:/php/sapi/php4apache.dll"
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
I have php4ts.dll in both the system and system32 directories (just in case). I tried backslashes instead which lets apache load but php won't work.
I tried copying everything to my c: drive and updating the LoadModule line to point to C instead of F. Same error.
I even tried the command like this:
Apache.exe -w -f "C:\Progra~1\Apache~1\Apache2\conf\httpd.conf" -d "C:\Progra~1\Apache~1\Apache2\."
Same error.
I tried the LoadModule line without quotes: Same error.
I don't know if it was an apache or a php problem with the dll's, but I want it to work, so I just uninstalled apache 2.0.43 and installed apache 1.3.27. Works now.
Originally posted by jmrSudbury I don't know if it was an apache or a php problem with the dll's, but I want it to work, so I just uninstalled apache 2.0.43 and installed apache 1.3.27. Works now.
Had the same problem answer is here (at least for me, but I'll bet it will be for you). Get the right dll and it works ! A nasty trap that cost me a few days. Too stuborn to give up. http://www.sitepointforums.com/showt...threadid=75691
Bookmarks