PHP error reporting

From D3xt3r01.tk
Revision as of 03:39, 3 December 2009 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 .