Friday, 15 January 2010

php - setting php_flag error_reporting not working -


I'm always getting the error disappointing reporting, I need to set the following in an .htaccess file:

for some legacy code and when I'm clearly in the right place (phpinfo () says that The value has changed), the value is changed to 0!

I can not even convert it to php.ini - the value is shown in phpinfo () as 22527. Is anyone wrong who I am doing?

I tried:

  php_flag error_reporting1  

Just for grins - I tried other values ​​which works , And they all came back at 0.

Its "php_value", not php_flag

The PHP error is a comprehensive reference on reporting values ​​which hopefully will help you to find a little bit scary:


No comments:

Post a Comment