Partner and Community Forums
Attempting to Run Multiple PHP Instances - HTTP Error 500.0 - Interna...
Last post May 14, 2015 03:12 PM by marcwta
May 12, 2015 09:30 AM|marcwta|LINK
I currently have an IIS 8x VM setup hosting 3 web sites with PHP 5.3.28 running successfully (used Web Platform 4.0 Installer), I wanted to run PHP 5.6 and used the Web Platform 5.0 installer but am coming up against the below error when attempting to run
this newer version. Thankfully the PHP manager gave me the option to use the older version so I was able to get the sites up and running using 5.3.28.
Error: HTTP Error 500.0 - Internal Server Error C:\Program Files (x86)\PHP\v5.6\php-cgi.exe - The FastCGI process exited unexpectedly
I verified the the following keys in the "applicationHost" file
<add name="PHP_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.6\php-cgi.exe" resourceType="Either" />
<add name="PHP53_via_FastCGI" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="C:\Program Files (x86)\PHP\v5.3\php-cgi.exe" resourceType="Either" />
Security Settings are the same on the PHP directory
Handler Mappings Contain:
PHP_via_FastCGI - *.php - C:\Program Files (x86)\PHP\v5.6\php-cgi.exe
PHP53_via_FastCGI - *.php - C:\Program Files (x86)\PHP\v5.3\php-cgi.exe
EVT App Error Log
Faulting application name: php-cgi.exe, version: 184.108.40.206, time stamp: 0x53fe294e
Faulting module name: MSVCR110.dll, version: 6.3.9600.17736, time stamp: 0x550f42c2
Exception code: 0xc0000135
Fault offset: 0x0009d4f2
Faulting process id: 0xe98
Faulting application start time: 0x01d08cb93b69ccd7
Faulting application path: C:\Program Files (x86)\PHP\v5.6\php-cgi.exe
Faulting module path: MSVCR110.dll
Report Id: 791d8037-f8ac-11e4-80d0-005056927ae6
Faulting package full name:
Faulting package-relative application ID:
May 13, 2015 07:47 PM|DropPhone|LINK
Exception code: 0xc0000135
0xc0000135 == STATUS_DLL_NOT_FOUND
Can you run both php.exe versions from the command line on that server? It sounds like there's a dll missing, and that's causing php-cgi.exe to choke when starting up.
Usually this is because the MSVCRT for the version of PHP hasn't been installed on the server.
May 14, 2015 03:12 PM|marcwta|LINK
Looks like you nailed it down!
Executing "php -i | more" against my 5.3 php directory runs fine w/out error as expected but attempting the same against my 5.6 dir throws the below.
I installed the below and it looks like I'm able to browse the php info page successfully!
I just realized what I did wrong...I downloaded "vcredist_x64" 2 days ago instead of "vcredist_x86"!
Thank you VERY much for the second set of eyes!