note 30774 added to function.putenv
| From: | cap at capsi dot com | Date: | Fri, 28 Mar 2003 04:18:30 +0000 |
| Subject: | note 30774 added to function.putenv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45937@lists.php.net to get a copy of this message | ||
I've been using putenv with PHP 4.3.1 and Apache 2.0.44, but it does not seem to restore
variables correctly. I'm getting +0100 and -0800 entries all across my Apache logs. Manually
adding a putenv in page footers to restore the original value seems to fix things, but I still wish
I could set the time zone for a specific request only.
I'm not sure whether using putenv affects all threads within the process, that could be another
problem.
--
http://www.php.net/manual/en/function.putenv.php
http://master.php.net/manage/user-notes.php?action=edit+30774
http://master.php.net/manage/user-notes.php?action=delete+30774
http://master.php.net/manage/user-notes.php?action=reject+30774