Sunday, November 24, 2013

APPCRASH php-error-faulting-module-name-php5ts[solved]

Problem signature:
  Problem Event Name:    APPCRASH
  Application Name:    httpd.exe
  Application Version:
  Application Timestamp:    5128b049
  Fault Module Name:    php5ts.dll
  Fault Module Version:
  Fault Module Timestamp:    51af9dd2
  Exception Code:    c0000005
  Exception Offset:    0002c202
  OS Version:    6.1.7601.
  Locale ID:    1033
  Additional Information 1:    0a9e
  Additional Information 2:    0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:    0a9e
  Additional Information 4:    0a9e372d3b4ad19135b953a78882e789

We are running XAMPP on Windows 2008 R2 64bit.  We received APPCRASH every 7 or 8 hours. I tried lots of solution by but situation is same. After long time I found solution:

SOLUTION: After long time I found solution I changed the configuration and run the PHP in cgi mood.

Set Comment on following line.
#LoadFile "D:/xampp/php/php5ts.dll"
#LoadModule php5_module "D:/xampp/php/php5apache2_4.dll"

#<FilesMatch "\.php$">
#    SetHandler application/x-httpd-php
#<FilesMatch "\.phps$">
#    SetHandler application/x-httpd-php-source

# PHP-CGI setup

Uncomment the following line:

<FilesMatch "\.php$">
    SetHandler application/x-httpd-php-cgi
<IfModule actions_module>
    Action application/x-httpd-php-cgi "/php-cgi/php-cgi.exe"

After changing this configuration I will never received APPCRASH. My problem is solved.

Moodle and mod_rewrite are running perfectly in CGI mood.