IIS 7和FastCGI问题

问题描述:

今天我在Windows 7中配置IIS 7 FastFGI我跟所有的步骤,但我得到以下错误:IIS 7和FastCGI问题

C:\php\php-cgi.exe - The FastCGI process exited unexpectedly

  • IIS received the request; however, an internal error occurred during the processing of the request. The root cause of this error depends on which module handles the request and what was happening in the worker process when this error occurred.
  • 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.

你居然收到此错误?这看起来像是多个“这可能是这种情况”的错误,所以我不确定你究竟遇到了哪一个。

了很多要点,然而,似乎与任何权限,所以我会从那里开始。

您可以访问您要呈现的页面吗?换句话说,你可以将HTML文件放在同一个目录中并进入页面吗?如果没有,你必须与Windows权限混在一起。无论是设置网站使用您的权限,或修改IIS_IUSR(我认为这就是它叫什么)帐户。

抛出我送行的唯一的事情是,它的退出意外,我想也可能是许可的,但我不知道为什么它会崩溃。可能PHP本身无法访问您想要访问的文件?我无法从这个错误信息中知道。

此外,这看起来像是“可能是A,可能是B”错误消息,但是如果您试图以“托管模式”运行它 - 也就是在.NET运行时中,PHP将崩溃为PHP不是用.NET编译的。

迈克

当我把它安装IIS 6,我不得不把我的php.ini文件在Windows文件夹: http://www.howtoadvice.com/PHPIIS