[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Problem installing PHP on IIS5.1

Posted on 2010-08-19
5
Medium Priority
?
550 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 2000 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

What’s Wrong with Your Cloud Strategy ?

Even as many CIOs are embracing a cloud-first strategy, the reality is that moving to the cloud is a lengthy process and the end-state is likely to be a blend of multiple clouds—public and private. Learn why multicloud solutions matter in this webinar by Nimble Storage.

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
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 …
Suggested Courses

656 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