|
Posted by Kim Andrι Akerψ on 03/19/07 15:12
Dana Cartwright wrote:
> 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.
In which column does the phpinfo() show the display_errors setting as
"Off"? "Local Value", "Master Value" or both?
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|