My PHP-CGI started serving blank pages for no apparent reason until I restarted the process.
I want to know why.
Unfortunately the "production" configuration file of PHP has no error_log by default. My Nginx error log also displayed no errors relating to PHP. This is probably a hopeless case, but I am asking just in case.
Here is my setup
- Nginx 0.8.2
- PHP 5.2.6-3ubuntu4.1 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2009 14:37:14)
- PHP APC 3.0.19-2
- spawn-fcgi v1.6.2 (ipv6) - fastcgi wrapper from lighttpd
Any ideas what might have caused the error?
I think I've isolated the problem. I've been using Monit to automatically restart PHP whenever it started blanking. My PHP error logs are blank.
But I figured out that if I disabled a Wordpress plugin called WP-SuperCache, my PHP stopped being reset every ~10 hours. So far my PHP has been running for 3 days straight. Does anyone have any suggestions about this?