PHP error reporting

Jump to navigationJump to search

So after wondering my ass off on how and where to change confs to make php spit out all the errors in one location only .. here's what I found ...

php_flag display_errors on
php_value error_reporting 7

in a .htaccess file in that directory ... And the great news is that it actually works !

For other int values you can set at error_reporting you can go to php's errorfunc constants page. For combining values you can just sum the values.

Original source here .