Link to home
Start Free TrialLog in
Avatar of kenjpete
kenjpete

asked on

Problem installing PHP on IIS5.1

I installed PHP 5.2.14 using Microsoft's Web Platform feature on my WIndows XP development machine. I am running IIS5.1 Everytime I try to browse a PHP page using localhost the file just wants to download, it won't display. Please help!
Avatar of Dangle79
Dangle79
Flag of United States of America image

you need to set up the mime type. the installer tends to fail to associate .php files with the engine.

http://www.iis-aid.com/articles/how_to_guides/installing_php_5_iis_5_simple_steps?page=0%2C2

page 3 of this document specifically
Avatar of kenjpete
kenjpete

ASKER

I checked the MIME type for .php and it was set to c:\windows\system32\inetsrv\fcgiext.dll. I changed it to c:\Program Files\PHP\php5.dll. But the same problem persisted? Do I have to restart or should I be using a different file for the MIME type?
ASKER CERTIFIED SOLUTION
Avatar of Dangle79
Dangle79
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I changed it to point to php.exe, set the permissions to scripts only and restarted IIS but it is still trying to download the index.php file? Any other ideas?
OOPS! Looks like I had permission set wrong....it is working now....thanks!