iis8 php-cgi.exe - FastCGI process unexpectedly quits 500 error solution

Today iis under the service environment of the site suddenly show 200 errors php-cgi.exe - FastCGI process unexpectedly quit, good yesterday the site properly, this issue has been occasionally several times, not very often, but occasionally;

This is due to some reasons for the failure to load the library to load, here are three solutions.

 

First, set the environment variable

Setting PHP directory environment variable, right-Computer -> Properties - "Advanced System Settings -" environment variable set path path, increasing the PHP directory

Second, the direct command line to the PHP directory

Next, using php -v to check which libraries can not be loaded and processed, which usually can not load libraries are also less than if you have to use, you can copy and then elsewhere.

Third, restart the server directly


---------------------

We take a closer Dir 2 methods:

Double-click the file php.exe PHP directory under "msvcr110.dll" Lost prompt appears.

Microsoft Web site to download the "Microsoft Visual C ++ 2012 Redistributable" package installation, note 86 and 64 are installed, after installation, and then double-click the file php.exe in PHP directory, do not prompt "msvcr110.dll" lost everything normal.

Web site http: //localhost/phpinfo.php also appeared in "PHP Version 5.6.30" version of the message alert. Description of the support PHP.

 

File Download:

http://www.microsoft.com/zh-CN/download/details.aspx?id=30679

 

Guess you like

Origin www.cnblogs.com/lazb/p/11262281.html