Setting error_reporting value in php.ini
Issue
-
Unexpected
error_reportingvalue rerturned byphpinfo() -
Setting
error_reportingtoE_ALL & ~E_NOTICEreturns 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_reportingshown inphpinfo()?
Environment
- Red Hat Enterprise Linux 6
- PHP 5.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
