Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

The Specified Module Could Not Be Found

Status
Not open for further replies.

Magikey

Technical User
Joined
Jul 21, 2004
Messages
2
Location
US
I have tried everything to make my server work. when I test it in the browser at localhost/test.php, it works. When I try to test, start or restart the configuration, I get the following error:

httpd.exe: Syntax error on line 99 of c:/Program Files/Apache Software Foundation/Apache.2.2/conf/httpd.conf: Cannot load c:/php/php5apache2.dll into server: The specified module could not be found.

I must admit, I am very new to this. Or better yet, how can I change to run the IIS server instead? I am more comfortable using it as my localhost.
 
Either there is a typo in the path to c:/php/php5apache2.dll

or apache can not load a dll on which c:/php/php5apache2.dll is dependent.

Try adding c:\php to your system path.

You say localhost/test.php works? Seems like php may be mapped to php.exe rather than as a loaded module in apache.

Stick with apache. IIS has some really annoying quirks.

Jeb
 
Where can I go to find out if it is mapped to php.exe rather than as a loaded module in apache? When I tell you that I'm a newbie, Boy am I a newbie with all CAPS!

Also, I failed to mention that whomever installed my windows onto my computer, my main drive isn't C. It is I. Does that make a difference? Before you ask, I used I instead of C.

Is there somewhere I can go to really read up on this and figure out this mess I've gotten myself into?

Magikey
 
Find your httpd.conf file. Should be in {apache_home}/conf.
Search for .php it should show you something. Its been a while since I set one up....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top