IIS 7.5 PHP failure “The FastCGI process exited unexpectedly”

前端 未结 9 1050
旧时难觅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:31

    I have the same problem, which I fixed by installing the 32 bit of Visual C++, redistributable for Visual Studio 2012. 64 bit doesn't work for me.

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

    Install the 32 bit of Visual C++ Redistributable for Visual Studio 2012 Update 4

    NOT the 64 bit

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

    if you have two application like (your app, phpmyadmin) just disable APC extension Hope that fix the issue it's worked with me

    if not just install Microsoft visual C ++ 86 and 64

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

    I know its an old thread, but someone might save some headbashing.

    In php.ini, changing

    ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; disabled on them.
    ; http://php.net/enable-dl
    enable_dl = Off
    

    to

    ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; disabled on them.
    ; http://php.net/enable-dl
    ;enable_dl = Off
    

    Having enable_dl = Off doesn't work, commenting out the entire line does.

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

    Is this page you're trying to hit doing anything intensive?

    I've had this problem before, and the error message was misleading.

    You might want to try increasing your memory limit for that particular page. First find out the peak memory usage for that page:

    echo memory_get_peak_usage(true);
    

    Then set your memory limit appropriately:

    ini_set("memory_limit","1024M");
    

    Hope that helps!

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

    As mentioned correctly in above answers it's related to "Visual C++ Redistributable" that's not installed or not installed correctly.

    Depending on my expertise on this issue.

    1- First take care, each PHP version depends on specific Visual C++ Redistributable version (11,12,14,..)

    so first is to check back your PHP version with the notes on the left side of php site:
    PHP Download page search for "Which version do I choose?" then see what version of VC++ is required to you.

    2- YOU HAVE TO Download VC 32 and 64 BOTH. and check if your PC has it already so Unistall both of them (for the same version only). and then install 32 first and 64 after. (no need for any restarts unless it asks).

    3- Complete the php installation other steps for iis, apache or ....

    I hope it helps you.

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