Update, I can see the errors if I make a fatal error. but not if it's a
parse error. in the php.ini I'm using the default error_reporting:
E_ALL & ~E_NOTICE
I sill have no explanation as to why.
On Wed, 2002-05-22 at 11:24, Jeff Bearer wrote:
> I have the following in my php.ini file:
>
> display_errors=Off
> log_errors=On
> error_log="filename"
>
> I want to turn on display_errors for developers, I'm attempting to use
> ini_set to do this. I made a script like:
>
> <?php
> ini_set('display_errors',1);
> ini_set('log_errors',0);
> ini_set('error_log',null);
>
> phpinfo();
> ?>
>
> (I added log_errors and error_log lines in an attempt to get this
> working)
>
> The phpinfo() shows that the local values for the variables I set as I
> just set them, and the master values are those of the php.ini file.
> Everything looks how I what it. If I add an error:
>
> echo "asdfadf"asdfa;
>
> The script behaves as it would in the php.ini, it displays no error and
> writes it to the log. Does anybody have any ideas on why this isn't
> working?
>
> --
> Jeff Bearer, RHCE
> Webmaster
> PittsburghLIVE.com
> 2002 EPpy Award, Best Online U.S. Newspaper
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Jeff Bearer, RHCE
Webmaster
PittsburghLIVE.com
2002 EPpy Award, Best Online U.S. Newspaper
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php