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

From: Date: Fri, 04 Feb 2000 23:27:24 +0000
Subject: Re: [PHP4BETA] Move php_log_err() to SAPI?
References: 1 2 3 4 5  Groups: php.version4 
Request: Send a blank email to php-version4+get-9839@lists.php.net to get a copy of this message
On Fri, Feb 04, 2000 at 04:58:25PM -0600, Andrei Zmievski wrote: > On Thu, 03 Feb 2000, Zeev Suraski wrote: > > Me too. There should be an entry in the sapi_module structure that knows > > how to log a char * string. Then, the php_log_err() would have the logic > > of creating the format + args into the result string, and then it'd call > > the SAPI logging function. > > > > Andrei - where stderr goes in CGI mode depends on under which server you're > > running. In Apache, for instance, it'd go to the error_log. In other > > servers, it may be different. > > Ok, my question still stands: is there any way for CGI binary to detect > that it's being run from the command-line instead of through the server? Where do you need to differentiate? -- Regards, Sascha Schumann Consultant

Attachment: [application/pgp-signature]
« previous php.version4 (#9839) next »