Just trying to manually install PHP 5.1.4 [just released ;-)] on my Apache
2.2 WEB server as a module (not as CGI) on a Windows XP Pro SP2 box.
I have carefully followed the manual install but keep having the following
error when starting my Apache WEB server:
"Cannot load C:/PHP/php5apache2.dll into server: The specified module could
not be found."
I have obvisouly checked that the php5apache2.dll library is indeed in the
C:\PHP directory and guess what? It is...
I've also checked that the acount used to run the Apache WEB server server
has access to all the PHP files in C:\PHP.
Here are the PHP 5 module configuration lines of my http.conf file:
PHPIniDir "c:/PHP"
LoadModule php5_module "c:/PHP/php5apache2.dll"
AddType application/x-httpd-php .php .php5
I have also added the "C:\PHP" directory to the PATH environment variable.
Seems very straightforward and I don't see where I've made a mistake.
BTW My Apache 2 WEB server is working perfectly fine with HTML pages.
I've been searching for similar problem on the internet and I did find
several persons reporting the same problem.
But the only solution I've found in these forums was to install an
all-in-one package that include both Apache 2 and PHP 5 (and in general
MySQL).
Both Apache and PHP recommendation is to manually install each of them and
not to take all-in-one packages.
So I cannot imagine it is impossible to do that manual installation...
Any idea is welcome...
Thanks!
Please, somebody help us
http://support.nusphere.com/viewtopic.php?p=7490&sid=a02d6f0799fb98d20bd6e7356aad3f01
It is in the paragraph:
"Now I'll say 'solved'.
It's a drag that I missed the Apache warning about the 2.0/2.2 add-in
incompatibilities.
No doubt there will eventually be 2.2 compatible dlls distributed with
PHP. In the meantime there are two solutions to the 'garbled'
problem:
1. Roll back to Apache to 2.0
2. Install Apache 2.2 compatible dlls available at
http://www.apachelounge.com/download/ "
It works for me following step 2 !!!