Jump to content

Recommended Posts

Hi

 

I'm getting a 'The specified module could not be found.' error when trying to open a php page with my browser.

 

Here's the situation: I'm trying to get php 5.2.2 installed on my w2k pro so I can practice writing themes for wordpress.

I installed the iis + pws that comes with w2k pro and pointed the home directory to d:\webserver

I installed php 5.2.2 and selected a very simple installation for iis - no cgi or extensions enabled.

The windows PATH points to the php install folder, as well as the variable phprc.

Php is listed as an extension under 'app mappings' in the iis manager.

All folder permissions are set to 'everyone', since this is just a practice machine.

The php.ini is mostly unaltered, except to point doc_root to d:\webserver\Inetpub\wwwroot.

 

The webserver works fine - I can view html documents in my browser just fine. But if I try to open a php one, it gives the error mentioned above.

 

What am I missing?

 

TIA

I would double check to make sure that you have the php extension mapped properly. This may be of some help http://www.phpfreaks.com/forums/index.php/topic,128400.msg538359.html#msg538359. Generally when you see that error you have not mapped the php extension correctly. You may also want to check the event viewer after viewing a php script. If you get an error please post the event id number. Also, did you use the installer or ?

well that link recommends changing the mapping from php5isapi.dll to php.exe. Tried that, and loaded a php page, and it just says "waiting..." while never completing the load.

 

Interesting thing about the app mapping page I noticed just now - when php gets installed, it creates the php extension mapping automatically. However, it puts the string in quotes, and also includes an extra backslash.

So the map looks like this:

.php  "d:\PHP\\php5isapi.dll"

 

So I changed it to:

.php d:\PHP\php5isapi.dll

 

And now I get this error when loading a page: "No input file specified."

 

Any suggestions on how to proceed from here?

TIA

okay, reinstalled everything, but this time enabling cgi instead of isapi, and making sure that the mapping points the php extension to d:\php\php-cgi.exe

 

and everything is just great.

 

Thanks for your help, it got me into the right direction!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.