How to change the time zone for a domain on shared server?

You can change the time zone for a particular domain via .htaccess or php.ini file. If the server PHP is compiled with apache (dso) then you can use .htaccess file to set the time zone.

SetEnv TZ location

For SuPHP servers, you can create custom php.ini file for that particular domain and add the following code.

date.timezone = “location”

If you require help, contact SupportPRO Server Admin

Server not running properly? Get A FREE Server Checkup By Expert Server Admins - $125 Value

Leave a Reply