ID: 31594
User updated by: per at computer dot org
Reported By: per at computer dot org
Status: Open
Bug Type: Apache2 related
Operating System: linux 2.4.26
PHP Version: 5.0.4, 4.3.11
New Comment:
Just checked 4.4.0RC1 - problem still exists.
Previous Comments:
------------------------------------------------------------------------
[2005-06-06 20:07:36] per at computer dot org
And equally obvious - to me at least - the answer can't be "don't do
that" when it works just fine in 4.3.8, but not in the later releases
...
------------------------------------------------------------------------
[2005-06-06 20:01:04] [EMAIL PROTECTED]
Well, obviously we can't remove set_locale.
------------------------------------------------------------------------
[2005-06-06 19:58:43] per at computer dot org
Also, I must point out that it worked perfectly well in 4.3.8, so
something was quite obviously regressed.
------------------------------------------------------------------------
[2005-06-06 19:57:20] per at computer dot org
If the answer is "don't do that", what is the setlocale() doing in php
in the first place? If it doesn't work, setlocale() should be
_disabled_ when used under Apache (but perhaps not in CLI mode).
------------------------------------------------------------------------
[2005-06-06 17:41:47] [EMAIL PROTECTED]
I can reproduce this only with the setlocale call enabled, and see a
"no acceptable variant" error in error_log. Locale settings are
process-global and changing them are quite likely to break other Apache
modules doing e.g. case-sensitive string comparisons. So, I think the
resolution for this bug should be simply "don't do that".
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/31594
--
Edit this bug report at http://bugs.php.net/?id=31594&edit=1