Re: [mp2] [question] $ENV{PATH} changes not taking effect?
Bart Schaefer wrote:[color=blue]
> There's a thread from December that would seem to be related. From that thread:
>
> ---------- Forwarded message ----------
> From: Michael Schout <mschout@gkg.net>
> Date: Dec 28, 2007 9:12 PM[/color]
[color=blue]
> The real problem is that this is only safe under a prefork MPM because
> it is not thread safe. There really ought to be an option (IMO) where
> you can make the untie of %ENV under perl-script to be optional. Maybe
> something like PerlOptions +NoUntieEnv or something so that if you are
> running under a prefork MPM, you do not need to resort to tactics like
> the above.[/color]
If invoked as a <Perl> section at startup, you are mislead. The fork
and threads creation hasn't happened at that phase.