I am using a PHP script which fetches and downloads mails with POP3 using imap. The script is running as a service in background and works continuously on an infinite loop.
After running successfully for two full days, the execution stops with an error as follows:
Problem signature:
Problem Event Name: APPCRASH
Application Name: php.exe
Application Version: 5.2.17.17
Application Timestamp: 4d25fc25
Fault Module Name: php_imap.dll
Fault Module Version: 5.2.17.17
Fault Module Timestamp: 4d25fc2e
Exception Code: c0000005
Exception Offset: 00046174
OS Version: 6.1.7600.2.0.0.272.7
Locale ID: 1033
Additional Information 1: c796
Additional Information 2: c796fa51b716b81f9cea7fd50cdb2961
Additional Information 3: 9d04
Additional Information 4: 9d04776bb6ebc15f615aeaa6094b5c33
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
I need to run the script in background, which downloads the mails and its attachments using on the system. The system uses multiple gmail accounts.
Server Configuration:
- Windows server 2008 R2 (64 bit).
- IIS Server 7.
- Plesk installed.
- PHP 5.2
- IMAP enabled.