Hi Iv and Dmitri,
Thanks for your help!
The solution to my problem came under the shower - as usual :)
I have to admit that I would prefer to not tell you the truth ... but:
I did all my configuration in the httpd.conf of another
project ... ... :) :( :) :)
...sometimes it is wiser to sleep about a problem before stealing other
peoples time... (and sometimes, unfortunately, the opposite is true).
Thank you again, Dietrich
On Fri, 2008-05-16 at 14:24 +0200, Iv Ray wrote:
I had similar problem some time ago, and there was some solution, which
> I can't remember now.
>
> Do you still have the problem?
>
> I'll can have a look, if still needed.
>
> Iv
On Fri, 2008-05-16 at 10:10 -0400, Dmitri wrote:
If you are on apache2 server, try |$myvar =
> apache_getenv("|APP_CONFIG_SECTION|");
> echo $myvar
> and see if it has value that you expect
> Dietrich Bollmann wrote:
>
> >Hi,
> >
> >I have the following directive in my virtual host configuration:
> >
> > SetEnv APP_CONFIG_SECTION "development"
> >
> >and would like to access the value from PHP with
> >getenv('APP_CONFIG_SECTION') or $_SERVER['APP_CONFIG_SECTION'] or
> >whatever. But none of them work.
> >
> >Is there any PHP / Zend / Apache2 / ... configuration option etc. I
have
> >to activate / deactivate in order to use SetEnv?
> >
> >I am using the Debian packate apache / php installation and the
current
> >version of the Zend Framework.
> >
> >I tried to use `safe_mode_allowed_env_vars = PHP_, APP_CONFIG_' in
> >php.ini - but this didn't change anything either.
> >
> >mod_env seems to be loaded also: /etc/apache2/mods-enabled/env.load
> >-> ../mods-available/env.load
> >
> >Thanks, Dietrich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php