PHP 4.0 Bug #10135: Problem(?) with environment variables when running as module
| From: | bogdan at itconsulting dot ro | Date: | Tue, 03 Apr 2001 11:52:38 +0000 |
| Subject: | PHP 4.0 Bug #10135: Problem(?) with environment variables when running as module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-50678@lists.php.net to get a copy of this message | ||
From: bogdan@itconsulting.ro
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