Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Apache2: Cannot load C:/PHP/php5apache2.dll into server: The specified module could not be found.

114 views
Skip to first unread message

news.skynet.be

unread,
May 5, 2006, 4:09:20 AM5/5/06
to
Hi all,

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!


dusti...@gmail.com

unread,
May 6, 2006, 12:32:22 AM5/6/06
to
Hey I agree I just did the same thing and got the sam error code..What
gives?

Seth

unread,
May 7, 2006, 12:20:23 PM5/7/06
to
I am also having this problem. Any help is appreciated.

RODA...@yahoo.com

unread,
May 9, 2006, 6:19:02 AM5/9/06
to

It is happennig the same to me.

Please, somebody help us

RODA...@yahoo.com

unread,
May 9, 2006, 11:25:21 AM5/9/06
to
I've just found the solution on this web page:

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 !!!

0 new messages