Solved

PHP extension configuration error in IIS 7.5

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

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 82

Expert Comment

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

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now