IIS 7.5 PHP failure “The FastCGI process exited unexpectedly”

前端 未结 9 1070
旧时难觅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条回答
  •  慢半拍i
    慢半拍i (楼主)
    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!

提交回复
热议问题