php-cgi.exe Application Error on Windows Event Viewer

Boon Chye Phang
Boon Chye Phang used Ask the Experts™
on
I have Magento 1.9 website with PHP 5.6.31 running on Windows IIS. Intermittently the website would have server 500 error, and more than 20 PHP CGI/FastCGI background processes running. The website will recover if its application pool restarted. I found there was Application Error in Event Viewer when the server 500 error first happened.
Faulting application name: php-cgi.exe, version: 5.6.31.0, time stamp: 0x595dca20
Faulting module name: php_wincache.dll, version: 1.3.7.12, time stamp: 0x58234af4
Exception code: 0xc0000005
Fault offset: 0x00015147
Faulting process id: 0x29d8
Faulting application start time: 0x01d432075ec736f9
Faulting application path: C:\Program Files (x86)\PHP\v5.6\php-cgi.exe
Faulting module path: C:\Program Files (x86)\PHP\v5.6\ext\php_wincache.dll
Report Id: 022fa75d-9dfd-11e8-80cb-000d3aa18ac6
Faulting package full name: 
Faulting package-relative application ID: 

Open in new window


Could it be the Application Error is the issue that caused server 500 error? How to fix this issue?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Jose Gabriel Ortega CastroTop Rated Freelancer on MS Technologies
Awarded 2018
Distinguished Expert 2018

Commented:
Review the event viewer and check for the errors when disconnections happen.
You can use this script for it:
https://gallery.technet.microsoft.com/office/Get-event-logs-errors-and-6871f163

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial