Re: error_log issue in php.ini

From: Date: Tue, 29 Apr 2003 21:31:25 +0000
Subject: Re: error_log issue in php.ini
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-1112@lists.php.net to get a copy of this message
Walt Boring <waboring@3gstech.com> wrote: > I have found something that I find a bug in php. If I have log_errors > = on in the php.ini and don't set the error_log entry, I can never set > it in a php script. > I have the error_log commented out in the php.ini, because I have it > set in my httpd.conf file for all of my virtual hosts. But when I run > php from the command line, I want to set the error_log to a file, and > ini_set() always returns false, simply because error_log is commented > out in the php.ini. I should be able to set this at runtime. You can use a separate php-cli.ini for your command line php. Regards... Michael

« previous php.internals (#1112) next »