Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 551
  • Last Modified:

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!
0
kenjpete
Asked:
kenjpete
  • 3
  • 2
1 Solution
 
Dangle79Commented:
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
0
 
kenjpeteAuthor Commented:
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?
0
 
Dangle79Commented:
i point mine directly at php.exe
you need to make sure the execute permissions are set to scripts only and then you should restart IIS for good measure
0
 
kenjpeteAuthor Commented:
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?
0
 
kenjpeteAuthor Commented:
OOPS! Looks like I had permission set wrong....it is working now....thanks!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now