TurnKey Linux Virtual Appliance Library

PHP error reporting is disabled - won't turn on

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?

Removing the E_ALL &-E_NOTICE

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

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)