IIS 7.5 PHP failure “The FastCGI process exited unexpectedly”

前端 未结 9 1051
旧时难觅i
旧时难觅i 2020-12-14 07:48

I\'ve been attempting to get PHP working with IIS 7.5 and have hit a bit of a roadblock. Whenever I try to load the page I get the following error:

\"HTTP Error 500.

相关标签:
9条回答
  • 2020-12-14 08:45

    It seems that there are some dll extension in your php which are not work properly and force the CGI closed. Try to comment every extensions in php.ini file and see whether the error will exist or not.

    [EDIT 1]

    After some struggles I found out that the IIS is non thread safe web server and all the extension which you want to use in php for IIS should used nts lib for compiling. If the extension compile with thread safe library and add to IIS the IIS would not start. In this case your extension in thread safe(used in apache I guess) and should not add as an extension in IIS

    0 讨论(0)
  • 2020-12-14 08:51

    I had this problem when I upgraded PHP 5.4.14 to 5.5.3 (32-bit).

    To fix it I had to install the Visual C++ Redistributable for Visual Studio 2012 Update 3

    I found out that I needed this DLL by running php --version from the console when my web pages no longer loaded after the upgrade. Which then revealed that I needed the MSVCR110.dll, that comes with the 32-bit VS redistributable update from MS. Since I have optional updates turned off in Window Update, I did not get it automatically.

    They also come in different flavors (32-bit, 64-bit, and ARM) 32-bit is what worked for me.

    0 讨论(0)
  • 2020-12-14 08:52

    I had this problem when I was configuring PHP 5.4.17(32-bit).

    To fix it I had to install the Visual C++ Redistributable for Visual Studio 2012 Update 4 and it worked fine after installing this update.

    0 讨论(0)
提交回复
热议问题