Hi,
I have the same problem and I am not so luckly. Even with the script alias, mine is not working. My event viewer shows
The Apache service named reported the following error:
Cannot load C:/php/sapi/php4apache2.dll into server: The specified module could not be found.
I am also using Win XP, apache 2.0.43, php 4.23
I tried:
LoadModule php4_module c:/php/sapi/php4apache2.dll
My only hope is to download new dll as noted in the link. (Still downloading, hope it helps)
Actually this problem occurs too even if I use apache 1.3.20
My question is how come my php_apache.dll is there and yet it says could not load it?
Regards,
Desmond
Originally posted by IceKill
Hello.
I have a problem. I have Apache 2.0.40 on Windows XP and I wanted to add PHP support to it. I downloaded php-4.2.2-Win32.zip and extracted it to C:/php/. After thah I did everything that had been said in Install.txt Added these lines to httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
But when I test Apache config an error appears:
Syntax error on line 955 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf:
Cannot load C:/PHP/sapi/php4apache.dll into server: The specified module could not be found.
(But it's located at this path)
Please help me 😕 !!!
I can fix tihis problem by using:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
BUT I DON'T WANT TO USE Alias, LoadModule is better 🙁