I'm running PHP7 under IIS8.5 with FastCGI
IIS is returning the following error occasionally:
HTTP Error 500.0 - Internal Server Error
C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly
IIS logs the errors as in the following example
2021-05-05 13:22:20 10.10.0.15 GET /pedido/status1.php - 443 - 152.250.143.188 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/90.0.4430.93+Safari/537.36 https://www.***.com/pedido/pedido2.php 500 0 255 2718
FastCgi properties are the following:
I appreciate any help that can tell us if we are misconfigurating IIS
Tks in advance
There are many reasons for this error, you can try the solution below:
There's a fairly good chance you're missing the correct VC++ runtime for the version of PHP you're running, try installing VC++ runtime .
If you have installed the VC++ runtime, please check whether you have installed 32-bit or 64-bit.
Your Rapid Fails PerMinute is too low.
Just change the Rapid Fails PerMinute to the default of 90,
Rapid Fails PerMinute: Specifies the maximum time allowed for a request to the application. If a FastCGI process takes longer than the specified time on a single request, it is terminated. The default value is 90 seconds.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.