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

x
?
Solved

PHP extension configuration error in IIS 7.5

Posted on 2012-03-20
4
Medium Priority
?
2,801 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 84

Expert Comment

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

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