Re: php.ini and cli

From: Date: Mon, 13 Jul 2009 09:07:12 +0000
Subject: Re: php.ini and cli
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-295309@lists.php.net to get a copy of this message
On Mon, Jul 13, 2009 at 4:48 AM, Ashley Sheridan<ash@ashleysheridan.co.uk> wrote: > Hi All, > > Just a quick question. When I make changes in the php.ini, to take effect, I > need to restart the Apache (or other web server) service. What happens with > PHP CLI? Is the php.ini parsed each time the script is called, or is there > something specific which needs resetting? The machine that the PHP CLI is > running on is a Windows machine with no web server. > -- > Thanks, > Ash > http://www.ashleysheridan.co.uk > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > The CLI binary reads and parses php.ini on every initialization. Try something like <?php echo $foo ?> And then set error_reporting (in php.ini) to E_ALL and see your warning, then set it to 0 and see nothing.

« previous php.general (#295309) next »