From:             [EMAIL PROTECTED]
Operating system: Win 2k
PHP version:      4.0.4pl1
PHP Bug Type:     *General Issues
Bug description:  Problem(?) with environment variables when running as module

The ideea is that when I run php as an Apache module, it is impossible to change the 
value of an environment variable.
I don't know if this is the way it's supposed to work or it's a bug

If I run it as CGI I don't have this problem,of course, it's a new process for each 
request, and the environment doesn't have the variable already set.

In fact what I want is to set the LANG environment variable for gettext to work, and 
different requests, might need to set different languages.

setlocale doesn't work for gettext.

Does anybody has any ideea ??


-- 
Edit Bug report at: http://bugs.php.net/?id=10135&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to