Re: Life of environment variable set put putenv()

From: Date: Sat, 19 May 2001 16:17:56 +0000
Subject: Re: Life of environment variable set put putenv()
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-53533@lists.php.net to get a copy of this message
elias_bachaalany@yahoo.com ("elias") writes: > "Arcady Genkin" <antipode@thpoon.com> wrote in message > news:87bsoqxhr5.fsf@tea.thpoon.com... > > I could not find this in the docs, but maybe I've been looking in the > > wrong place. Could someone give me an authorative answer or point me > > to it someplace else, to the question: > > > > When you set an environment variable with putenv(), is there a chance > > that it would be visible to any other PHP script served by the same > > apache child? > > never tried it though...but through my experience i would say: > The Environment values that are set within a script can be seen only within > child scripts (ie when script1.php spwans scrip2.php) In case anyone was following, the issue has been resolved. Have a look at http://www.php.net/bugs.php?id=10970 Awesome bug resolution turnaround! -- Arcady Genkin

« previous php.general (#53533) next »