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
Solved

PHP extension configuration error in IIS 7.5

Posted on 2012-03-20
4
2,506 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
  • 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
530 User cannot login, home directory inaccessible 18 71
IIS8 Internal IP Address Disclosed in HTTP Headers 21 313
IIS on Server 2012 R2 Datacenter 5 54
IIS Windows Server FTP 5 30
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…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

808 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