Bug #10135 Updated: Problem(?) with environment variables when running as module
| From: | lobbin@php.net | Date: | Sun, 13 Jan 2002 12:07:51 +0000 |
| Subject: | Bug #10135 Updated: Problem(?) with environment variables when running as module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76859@lists.php.net to get a copy of this message | ||
ID: 10135
Updated by: lobbin
Reported By: bogdan@itconsulting.ro
Old Status: Open
Status: Feedback
Bug Type: Gettext related
Operating System: Win 2k
PHP Version: 4.0.4pl1
New Comment:
Does this happen under 4.1.1?
Previous Comments:
------------------------------------------------------------------------
[2001-04-03 07:52:38] bogdan@itconsulting.ro
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 this bug report at http://bugs.php.net/?id=10135&edit=1