php - error reporting on specific folders -
There is a way to set the error_reporting (E_ALL);
Instead of specifying it for each specific directory in a specific directory?
I would like to turn on error reporting for my beta.
Just add this line:
php_value error_reporting 6143
or for older PHP versions:
php_value error_reporting 2047
Note that you can use contents (like E_ALL)
From:
Note: PHP
PHP Constants Using, like in httpd.conf, it will not have any useful meaning, so in such cases the integer values are necessary. And since the error levels will be added over time, the maximum value (for E_ALL) will change. So consider using a larger value to replace all the bit areas in place of E_ALL with a numeric value such as 2147483647 in the future.
Comments
Post a Comment