Forum: 

PHP error reporting is disabled - won't turn on

Mathieu Helie's picture

Using Turnkey LAMP Stack, I can't get the PHP Apache module to print errors to the screen. I've set display errors to on both through the Webmin interface and directly in the php.ini file and it makes no difference. I've tried creating a custom PHP error log file with full permissions, errors don't get logged to it. 

I made test scripts with obvious syntax errors and all that I get is a white screen. Good php scripts execute normally. Running a simple script with phpinfo() shows that all variables were set correctly.

Anything else I could try?

Mathieu Helie's picture

Removing the E_ALL &-E_NOTICE reverted webmin back to its new interface, which gave me checkboxes for the different error types. I was able to turn on all error reporting from there.

Post new comment