Well you can set your env variable using an Apache directive. Place this line in your .htaccess file in your document root directory:
SetEnv TZ America/Chicago
After placing this in my .htaccess file, PHP works like a champ and you no longer have to make the adjustment in your PHP code. However, MySQL still requires the per connection manipulation.


LinkBack URL
About LinkBacks

Reply With Quote