Setting error_reporting value in php.ini
Issue
-
Unexpected
error_reporting
value rerturned byphpinfo()
-
Setting
error_reporting
toE_ALL & ~E_NOTICE
returns a value other than the expected value of6127
:
[root@host]# echo "<?php phpinfo(); ?>" | php | grep error_reporting
error_reporting => 30719 => 30719
- How can I change the numerical value of
error_reporting
shown inphpinfo()
?
Environment
- Red Hat Enterprise Linux 6
- PHP 5.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.