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条)

报告相同问题?

悬赏问题

  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制