httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: httpd process and the environment
Date Thu, 02 Apr 1998 23:38:26 GMT
Marc Slemko wrote:
> 
> > 
> > > 
> > > I'm not sure I understand the point of letting PHP change the processes'
> > > environment variables. 
> > 
> > Supposedly, this is because Oracle (and others) use env vars for their
> > operation, so the PHP3 scripts need to be able to set/change these
> > for that to work.
> > 
> 
> Is this code being linked in as a library that needs the variables or how
> does it get called?
> 

As I understand it, the script sets the env var in the process and then
fork/execs a process to handle the transaction, thus the new process
inherits the environment and the var

-- 
===========================================================================
   Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
            "That's no ordinary rabbit... that's the most foul,
            cruel and bad-tempered rodent you ever laid eyes on"

Mime
View raw message