IIS Aid on IIS 5.1 / WIn XP problem

Hi,

Complete novice here so please bare with me.

Basically I'm trying to install PHP on my local XP IIS to test out my site.

First question (sorry if it's stupid) - Can the IIS handle both PHP and ASP based sites on the same computer?

If it can (which is what I'm trying to do), I'm having some problems with the IIS Aid installer.

I completed all the steps and when I rightclick on "default web site" -> properties -> "home directory" tab -> configuration I do see the .php extension and the path is "C:\IIS-Aid\PHP\php5isapi.dll" which seems ok.

But when I go to http://localhost/index.php I get the save file dialog and the page won't show.

It works fine when I use an ASP page so I assume the IIS is working properly and the problem is with the PHP part.

Any ideas on how to resolve that?

Thanks in advance!

Average rating
(0 votes)
Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

No problem at all. ASP and PHP should have no problems running along side each other. There can be several issues that can cause php scripts to download rather than be processed server side. Have a look at my guide on troubleshooting the prompt to download php file and see how you get on. If none of those steps help, then post back and I'll do my best to help you out.

----------------
Dominic Ryan
5 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

Anonymous's picture

Location: Kolkata

Anonymous said:

Sorry for the late response.

Seems like the "prompt to download" screen only appears when using FF.
When using IE I can see the PHP pages but it doesn't recognize/process PHP scripts.

Hope that helps in some way.

Thanks again

JohnB's picture

Joined: May 2009

Send PM

JohnB said:

sorry, the reply above was from me - forgot to login before posting.

I would also like to add that under the IIS properties for "default web site" -> "home directory" -> "configuration" I don't have a line for PHP.

Do I need to add one for .php and if so to which file should I direct it to in the c:\php folder?

thanks

Brashquido's picture

Location: Melbourne, Australia

Joined: Sep 2003

Send PM

Brashquido said:

You will need to have the PHP application mapping there for IIS to be able to process PHP scripts, however the IIS Aid PHP Installer should have done that for you. Did you get any errors during installation?

----------------
Dominic Ryan
5 x Microsoft IIS MVP, MCSE, MCSA
IIS Aid owner/webmaster

JohnB's picture

Joined: May 2009

Send PM

JohnB said:

well, I uninstalled iis-aid and installed the PHP .msi file.
then I manually added the php5isapi.dll (from the ZIP package) to c:\PHP and mapped it in the IIS configuration.

Everything seems to be working now.

Many thanks for the help and effort!