ID: 9138 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: Apache related Assigned To: Comments: Does this happen with latest CVS snapshot from http://snaps.php.net/ ? --Jani Previous Comments: --------------------------------------------------------------------------- [2001-02-06 19:08:11] [EMAIL PROTECTED] Script: <? setlocale ("LC_TIME", "es"); ?> Desc: When PHP is compiled as an Apache module, and an individual script changes the locale via setlocale, PHP never resets it, and the Apache child continues to run in the new locale. The problem with this is the log file gets printed in a new locale, and any new requests coming into that individual Apache child use the same setlocale as the original request. This causes problems with other PHP based scripts, as well as analyzing programs trying to determine the numerous locales printed in the log file. (ie: Jan can be ene, Jan, etc..) Please have setlocale replaced to what it was before the PHP script ran, as well as any other variables that can be thought to do this when this is brought to your attention. Thanks! --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9138&edit=2 -- 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]