The FastCGI process exited unexpectedly

后端 未结 13 805

I am trying to run PHP via FastCGI on a Windows 2008 server.

I followed this installation doc http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applicati

相关标签:
13条回答
  • 2020-12-24 12:12

    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.

    0 讨论(0)
  • 2020-12-24 12:14

    I tried opening php-cgi.exe directly and it gave me a more clear error message.

    0 讨论(0)
  • 2020-12-24 12:15

    In my case I had wrong constellation of configurations:

    • error reporting disabled
    • typo error in the configuration

    After enabling the error_reporting it was clear the session_path was pointed to a wrong folder.

    "Sad but true"

    0 讨论(0)
  • 2020-12-24 12:17

    After much pain and suffering, turns out I needed to install the "Visual C++ Redistributable for Visual Studio 2012 Update 4 32-bit version", even on my 64-bit server.

    0 讨论(0)
  • 2020-12-24 12:17

    I was getting this same error installing PHP 7 on Windows Server 2008 R2. I resolved this by installing the Visual C++ Redistributable for Visual Studio 2015.

    0 讨论(0)
  • 2020-12-24 12:18

    As the answer of 'sepehr' this issues are because of VC++ Redistributable suitable version for PHP are not installed or need to be reinstalled again.

    I faced it before so i'll explain my steps to fix it.

    1- Each PHP version is built by a specific Visual C++ Redistributable version like (10, 11,12,14,..) what ever. ((How you know!! look.. ))

    • Check back enter link description here The PHP Site then at the left side of this page, look at "Which version do I choose?" then see what version of VC++ is fits your PHP version installed.

    • Now YOU HAVE TO Download both of VC++ 32 and 64. and if your PC has it already then Unistall them first. and then install what you downloaded recently bu (first 32 then 64).

    - VC download links are exists on the mentioned PHP Site on the left side also.

    I hope it helps you.

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