Re: Re: Bug #10682 Updated: php -l display the same errors
| From: | Yasuo Ohgaki | Date: | Sun, 06 May 2001 09:24:24 +0000 |
| Subject: | Re: Re: Bug #10682 Updated: php -l display the same errors | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-54078@lists.php.net to get a copy of this message | ||
""Yasuo Ohgaki"" <yohgaki@hotmail.com> wrote in message
news:OE390VnkB4ltFlmmlQ00000232b@hotmail.com...
> If I disable one of display_errors and log_errors in php.ini, then it prints 2
> errors.
> If I disable both them in php.ini, it does not display any errors.
> I thought there might be a problem. I guess this is the way it is.
>
> php -d display_errors=off -d log_errors=off [-l | -f]
> works *perfectly* while they are set "On" in php.ini.
I noticed my mistake in this mail.
> php -d display_errors=off -d log_errors=off [-l | -f]
does not work
php -d display_errors=off -d error_log=off [-l | -f]
works and prints only useful error messages for Emacs when
debug is enabled.
Yasuo Ohgaki