How do I debug a PHP WSOD?

Very occasionally I get a mystifying white-screen-of-death PHP error - nothing is displayed or logged, even with the following settings:ini_set("error_reporting",E_ALL);ini_set("display_errors",true);ini_set("log_errors",true);ini_set("display_startup_errors",true);ini_set("html_errors",false);ini_set("error_log","/var/log/php_error_log");I read somewhere that output buffering or memory limit errors can result in no error output, but previously (for example) I have found a WSOD simply caused by __autoload() looking for a missing class file.Has anyone found a way to get these errors visible? I hate commenting out blocks of code.Thanks
 
Back
Top