Re: putenv usage
| From: | David Otton | Date: | Wed, 22 Jul 2009 14:16:25 +0000 |
| Subject: | Re: putenv usage | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-295685@lists.php.net to get a copy of this message | ||
2009/7/22 Manoj Singh <manojsingh2121@gmail.com>:
> Now my question is whether it is fine to use putenv in the production
> environment? Whether the putenv changes the timezone value globally for all
> request or for the current request only?
"The environment variable will only exist for the duration of the
current request." - www.php.net/putenv