dongzhuo8210 2010-04-15 19:58
浏览 93
已采纳

IIS 7与PHP 5.2 - 错误500

I have a fresh install of IIS 7 - I just added Web Platform Installer, and PHP 5.2 thru that.
However, when trying to access to a simple test.php file (just has phpinfo() in it), I get the following list of errors:

• IIS was not able to access the web.config file for the Web site or application.
  This can occur if the NTFS permissions are set incorrectly.
• IIS was not able to process configuration for the Web site or application.
• The authenticated user does not have permission to use this DLL.
• The request is mapped to a managed handler but the .NET Extensibility Feature
  is not installed.

The domain was created with dot net panel, but I don't think that has to do with this problem, unless maybe it uses a specific user? Maybe I need to add php through dot net panel?

Any idea of what I'm doing wrong here?

  • 写回答

2条回答 默认 最新

  • doutun9179 2010-05-01 15:37
    关注

    This was a misconfiguration on my side. Under "Handler Mappings" I added a php handler that was local to a website, when it was setup already to webserver level.
    After deleting the local handler, I could see the phpinfo() output.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?