Re: Apache SetEnv and regsiter_globals = Off

From: Agelmar (ifetteNOSPAM_at_comcast.net)
Date: 12/30/03


Date: Tue, 30 Dec 2003 17:32:32 -0500

Pierre wrote:
> I use the SetEnv directive in my httpd.conf (before loading LoadModule
> env_module /usr/lib/apache/1.3/mod_env.so) :
>
> SetEnv var value
>
> and i must have a php.ini with regsiter_globals = Off
> but when I set the regsiter_globals = Off in php.ini the SetEnv
> directive in httpd.conf don't work :(
> I use php 4.3.3 and apache 1.29 on a Debian
>
> Is there a way to a solution ?
>
> Thanks.
>
> Pierre

What do you mean that the SetEnv directive doesn't work? Are you accessing
it using $_ENV['whatever']?