You are here: Re: Display Errors is both On and Off « PHP Programming Language « IT news, forums, messages
Re: Display Errors is both On and Off

Posted by Jerry Stuckle on 03/19/07 18:07

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.
>
>

First of all, are you editing the correct php.ini file? (Probably, but
it's always worth checking).

Next - do you have the php.ini file overridden in your .htaccess or
httpd.conf file?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация