Solved

PHP extension configuration error in IIS 7.5

Posted on 2012-03-20
4
2,645 Views
Last Modified: 2012-03-20
Platform: PHP 5.3 on Windows 2008 R2 Server, IIS 7.5

Hi, experts. I have set up PHP 5.3 on my Windows 2008 R2 server.

I've placed a phpinfo.php file in web root: C:\inetpub\wwwroot\phpinfo.php

It is a simple PHP file that reports that PHP is working. But when I load my phpinfo.php file, IIS shows me this error:

"HTTP Error 404.3 - Not Found. The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map."

In IIS Handler Mappings I have entry for:

Name: PHP53_via_FastCGI
Path: *.php
Handler: FastCGIModule
Entry Type: Local

What else do I need to do to enable PHP on my Windows server?

Thanks very much for any advice.

Eric
0
Comment
Question by:Eric Bourland
[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
  • 2
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 37743894
1
 
LVL 3

Author Comment

by:Eric Bourland
ID: 37745587
Hi, Dave,

Thanks for this note. I followed those instructions carefully; I configured php.ini, and I set up the Handler Mapping. I also installed PHP Manager for IIS, and that reports that PHP is installed correctly. Thus, I am puzzled. I am missing some configuration that IIS expects.

I'll keep looking and reading. Thank you for any further advice you might have.

All best,

Eric
0
 
LVL 3

Author Closing Comment

by:Eric Bourland
ID: 37745673
Dave, I know what I did wrong. In IIS, I added the PHP Handler Mapping under the server name, which is "Monkseal". But not under the default IIS site, which is where the Handler Mapping needed to go.

Thanks again for your help. Have a great evening.

Best from Eric
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37745835
You're welcome, glad you found it.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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