Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:1112 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92372 invoked by uid 1007); 29 Apr 2003 21:45:47 -0000 To: internals@lists.php.net Message-ID: References: <1051649816.4832.9.camel@hemna.uh.nu> Organization: no User-Agent: tin/1.5.16-20030125 ("Bubbles") (UNIX) (Linux/2.4.21-pre7 (i686)) Date: Tue, 29 Apr 2003 23:31:25 +0200 X-Posted-By: 80.142.35.57 Subject: Re: error_log issue in php.ini From: michael.mauch@gmx.de ((Michael Mauch)) Walt Boring 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