Solved

Problem installing PHP on IIS5.1

Posted on 2010-08-19
5
544 Views
Last Modified: 2013-12-13
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
Comment
Question by:kenjpete
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:Dangle79
ID: 33476146
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
 

Author Comment

by:kenjpete
ID: 33476576
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
 
LVL 6

Accepted Solution

by:
Dangle79 earned 500 total points
ID: 33476721
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
 

Author Comment

by:kenjpete
ID: 33496970
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
 

Author Comment

by:kenjpete
ID: 33497048
OOPS! Looks like I had permission set wrong....it is working now....thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question