By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

Apache 2.2.3 PHP 4.4.5 Install Fails

P: n/a

I have Apache 2.2.3 installed and running on WinXP Pro SP2. I
installed PHP 4.4.5 and added the following lines in httpd.conf

PHPIniDir C:/PHP445/
LoadModule php4_module C:/PHP445/php4apache2.dll

When I restarted Apache, i got this error:

The Apache service reported the following error:
>>httpd.exe: Syntax error on line 488 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/PHP445/php4apache2.dll into server: The specified module could not be found.
Turns out that php4apache2.dll requires libapr.dll, libaprutil.dll and
libapriconv.dll to load. These are Apache dlls and are supposed to be
present in Apache2.2\bin folder. I did not find these dlls here.

I re-installed Apache 2.2.3 but the above mentioned libapr* dlls did
not get installed.

What else can I try?

Interestingly, php5apache2_2.dll from PHP 5.2 is not dependent on
above mentioned libapr* dlls and PHP 5.2 loads correctly. I must use
PHP 4.* however.


Feb 20 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.