Solved

PHP extension configuration error in IIS 7.5

Posted on 2012-03-20
4
2,564 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 Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

726 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