On Wed, Feb 04, 2004 at 02:13:59PM -0800, Rasmus Lerdorf wrote:
> On Wed, 4 Feb 2004, Joe Estock wrote:
> 
> > On 2/4/2004 3:12 PM, Rasmus Lerdorf wrote:
> > > Is it me or does -d no longer work in 4.3?  To test:
> > > 
> > >   php -d "track_errors=1" -i | grep track
> > > 
> > > (assuming you have it off in your php.ini)
> > > 
> > > Works fine for me in 4.3.2 but looks quite broken in 4.3.4.  Anybody play 
> > > around in that code?
> > > 
> > > -Rasmus
> > 
> > Works fine for me in 4.3.4RC3. Here is the output:
> > 
> > php -d "track_errors=1" -i | grep track
> > track_errors => Off => Off
> 
> Well that shows exactly that it didn't work.  track_errors should be 
> saying On there since you set it to 1 with the -d.  It turns out 
> that between PHP 4.3.2 and 4.3.4 php -i was changed to ignore any -d 
> settings.  

it works for me with php-4.3.4 cgi-sapi: track_errors is reported to
be set correctly. but it doesn't work with cli-sapi (i only had 4.3.3
as cli to test that).

it seems the problem is specific to the cli-sapi.

> -Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to