[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mp2] [question] $ENV{PATH} changes not taking effect?


Bart Schaefer wrote:
There's a thread from December that would seem to be related.  From that thread:

---------- Forwarded message ----------
From: Michael Schout <suppressed>
Date: Dec 28, 2007 9:12 PM

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.

If invoked as a <Perl> section at startup, you are mislead.  The fork
and threads creation hasn't happened at that phase.


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.