After installing PHP on your IIS, you might be stuck with the following error :
“Http Error 500.0 FastCGI process exited unexpectedly. ”
This error occurs when the Visual C++ Redistributable file to handle CGI process is not present in the system.
To resolve this issue you just need to install proper VC++ redistributable file.
So if you are facing this issue, and if the system does not have proper VC++ version, then just install the version of VC++ supported by the PHP version installed on your system to resolve this error.
List of PHP versions and the VC++ versions supported by it:
|PHP version||MVC version||Supported VC++ version|
|PHP 7.0||VC 14 Build||VC ++ 2015|
|PHP 5.6||VC 11 Build||VC ++ 2012 / update4|
|PHP 5.5||VC 11 Build||VC ++ 2012 / update4|
|PHP 5.3||VC 9 Build||VC ++ 2008|
So happy troubleshooting folks . 😉