|
Posted by Dana Cartwright on 03/19/07 13:38
I have a website in which PHP errors are displayed, despite having them
configured to not display.
Here is a test file I created to explore this:
<?php
echo ini_get( 'display_errors' );
phpInfo();
?>
The ini_get says "On", the phpInfo says "Off" (for display_errors in the PHP
Core section).
PHP 5.0.4
I'm struggling to understand how, at runtime, I get these conflicting
reports. The configuration files all say display_errors is OFF, and phpInfo
agrees, but PHP acts like they are on, and ini_get shows why.
[Back to original message]
|