I'm installing Deskpro Download on Windows with IIS, and when I test my phpinfo() output I get an error like this:
HTTP Error 500.0 - Internal Server Error
C:\PHP\php-cgi.exe - The FastCGI process exited unexpectedly
I also get a "CGI / FastCGI has stopped working" pop-up.
How do I fix this?
This can be caused by having the wrong version of PHP installed, or not having the correct Visual C++ Redistributable installed.
Make sure you have installed the correct version of PHP
You must use an x86 non-thread safe version of PHP with IIS.
If you installed PHP with the Microsoft Web Platform Installer, make sure you selected the correct version. Otherwise, make sure you used the x86 non-thread safe version from the PHP site.
Install the correct Visual C++ Redistributable
Run php-cgi.exe from the command line. If you get an error about a missing MSVCR dll like this:
you need to install a Visual C++ Redistributable.
For PHP 5.5 or 5.6, you will need to install Visual C++ Redistributable for Visual Studio 2012. Make sure to install the x86 version.
For PHP 5.4, you will need to install Visual C++ Redistributable for VS 2008 x86.