Re: trigger_error() when using php cli

From: Date: Wed, 07 Jan 2009 18:55:36 +0000
Subject: Re: trigger_error() when using php cli
Groups: php.general 
Request: Send a blank email to php-general+get-285590@lists.php.net to get a copy of this message
As I recall, PHP CLI overrides the error_log setting and uses STDERR by design. You'll have to re-direct it elsewhere in the shell. Or a custom error_handler that uses a specific file name in error_log call. Using error_log alone will not help.

« previous php.general (#285590) next »