Re: [PHP4BETA] Move php_log_err() to SAPI?

From: Date: Sat, 05 Feb 2000 16:10:38 +0000
Subject: Re: [PHP4BETA] Move php_log_err() to SAPI?
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-9847@lists.php.net to get a copy of this message
On Sat, 05 Feb 2000, Zeev Suraski wrote: > Well, if you run php interactively, you simply shouldn't set it up that > way; Unless you actually want to use redirection to put the stderr data > to one file and the HTML output to another. > I wouldn't oppose to such a change (I think), but I don't think it's all > that necessary. > The only way to differentiate between CGI and command line is checking for > certain environment variables. The thing is, I use the same php.ini file for my web scripts and command-line scripts because they need exactly same settings most of the time. Except for this error stuff which would require me to have two versions of php.ini - one for the web, and one for command-line. This results in more maintenance... -Andrei * Use the source, Luke. *

« previous php.version4 (#9847) next »