php - setting php_flag error_reporting not working -
i have found error_reporting frustrating, need set following in .htaccess file:
php_flag error_reporting 22519
for legacy code.
and while i'm in right place (phpinfo() says value has been changed), value changed 0!!
i can't change in php.ini - value shows in phpinfo() 22527. idea i'm doing wrong?
i tried:
php_flag error_reporting 1
just grins - works. tried other values, , revert 0.
its "php_value", not php_flag.
heres comprehensive reference on php error reporting values demystify little you: http://www.bx.com.au/tools/ultimate-php-error-reporting-wizard
Comments
Post a Comment