logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Apache cannot find PHP module, Help!!!
Author
kr33



Joined: 19 Sep 2006
Posts: 64
Location: South Africa

PostPosted: Tue 19 Sep '06 9:33    Post subject: Apache cannot find PHP module, Help!!! Reply with quote

Hi All

I'm having trouble loading a module for php5 in apache

My OS : Windows Server 2003 Enterprise
Apache : version 2.2.3
PHP : Version 5
MySQL : version 5

I'm doing a manual config
In the httpd.conf file I added the following line:
LoadModule php5_module "c:/php/php5apache2.dll"

But when I restart the server, it fails and says the following...: Syntax error on line 115 <path of the httpd.conf file>, unable to load module on the server, cannot find C:\php\php5apache2.dll.

I made sure that I typed the path in correctly and that it exists. But I'm stuck now.

Please help, with setting up apache to use php5 and MySQL 5.

ANY help would be GREAT!!!

Much thanks Exclamation
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7298
Location: Germany, Next to Hamburg

PostPosted: Tue 19 Sep '06 9:37    Post subject: Reply with quote

The php5apache2.dll from php.net is not build for Apache 2.2.3
Download it from here and replace that in your php folder
http://www.apachelounge.com/download/

If that don't work than, you may read this tutorial
http://www.apachelounge.com/viewtopic.php?t=570
Back to top
kr33



Joined: 19 Sep 2006
Posts: 64
Location: South Africa

PostPosted: Tue 19 Sep '06 11:19    Post subject: Reply with quote

Thanks James! Will try it out, much appreciated Wink
Back to top
junshan



Joined: 06 Dec 2006
Posts: 1
Location: Connecticut

PostPosted: Wed 06 Dec '06 5:39    Post subject: This works for me Reply with quote

You need to use c:/php/php5apache2_2.dll file downloaded from php-5.2.0-Win32.zip file rather than php5apache2.dll file. php5apache2.dll is not compatible with apache2.2.3.

This works for me.

Hope it helps.

Jonathan
Back to top


Reply to topic   Topic: Apache cannot find PHP module, Help!!! View previous topic :: View next topic
Post new topic   Forum Index -> Other Software