Re: [PHP] Question about HTTP_ENV_VARS, PHP, and Apache

2002-01-15 Thread Michael Sims
At 09:32 PM 1/15/2002 -0600, Michael Sims wrote: On both the Redhat 7.1 servers, phpinfo() reports the following environment variables: user: michaels logname: michaels [...] I'm confused as to why these variables exist. I know for a fact that Apache is running as nobody. That's what the

Re: [PHP] Question about HTTP_ENV_VARS, PHP, and Apache

2002-01-15 Thread Rasmus Lerdorf
This has been discussed a number of times here. Apache will always inherit the environment of the user that starts it. You should start it with a clean environment. ie. add env -i to whatever script starts your httpd server. -Rasmus On Tue, 15 Jan 2002, Michael Sims wrote: This may be more of