问题描述
我正在尝试在 Windows 2008 服务器上通过 FastCGI 运行 PHP.
I am trying to run PHP via FastCGI on a Windows 2008 server.
我遵循了这个安装文档 http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/ 并检查了我多次正确完成步骤.
I followed this installation doc http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis7/ and have checked I completed the steps correclty numerous times.
但是,当我尝试执行 php 页面时,出现以下错误:
However when I try to execute a php page i am presented with the following error:
HTTP 错误 500.0 - 内部服务器错误C:\PHP\php-cgi.exe - FastCGI 进程意外退出
HTTP Error 500.0 - Internal Server ErrorC:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly
推荐答案
您可能在 Handler mapping 中使用了 C:/[your-php-directory]/php.exestrong> IIS 只需更改它C:/[your-php-directory]/php-cgi.exe.
You might be using C:/[your-php-directory]/php.exe in Handler mapping of IIS just change it C:/[your-php-directory]/php-cgi.exe.
这篇关于FastCGI 进程意外退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!