Jump to content

Recommended Posts

First, let me cut off all the "Use Apache" comments before they're even offered.  If I had a choice, I'd be using Apache, but my boss wants this on IIS.

 

Now, I've downloaded the latest edition from PHP.net (I think it's PHP 5.2.3) and ran the installer.  Everything appeared to run fine.  Unfortunately, I can't map the .dll file.  I can find the .dll, and I've followed the steps on PHP.net to the letter, but it won't exit the "Add/Edit Application Extension Mapping" window no matter how many times I click "OK."

 

Any ideas on how to get this damn thing to map?

Have you tried going to IIS => Websites (right click) => Properties, |Home Directory| => Configuration button, then find .php in the list of extensions, click |Edit| and set the Executable to C:\PHP\PHP5ISAPI.DLL (or wherever the PHP is)- not the php.exe!

 

This is what rescued me.

 

Source:  http://www.tjitjing.com/blog/labels/PHP.html

Have you tried going to IIS => Websites (right click) => Properties, |Home Directory| => Configuration button, then find .php in the list of extensions, click |Edit| and set the Executable to C:\PHP\PHP5ISAPI.DLL (or wherever the PHP is)- not the php.exe!

 

This is what rescued me.

 

Source: http://www.tjitjing.com/blog/labels/PHP.html

 

Thanks for the tip. I didn't realize that .php would already be in the list of extensions. Unfortunately, my test scripts don't work. They don't do anything at all. One would think that the Windows installer would actually install the entire damn thing instead of leaving a bunch of poorly documented steps to follow to complete the process. Consider me unimpressed.

 

Do I have to run php.exe or something?

When you say they don't work, what exactly do you get? Do you get unparsed PHP; like

<?php

echo "hello world";

?>

coming out, or a 404, or a 403, or a 500, or nothing at all?

 

Did you follow the link I posted? It has some good tips in it.

 

Have you scoured the installation discussions on www.php.net

 

I guess if they spent enough time on the installer to make it work with IIS on Windows, they wouldn't have time to develop PHP. I run abyss and the installer exe works a-ok, same with Xitami; both free products!

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.