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

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

by SupportPRO Admin

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


Partner with SupportPRO for 24/7 proactive cloud support that keeps your business secure, scalable, and ahead of the curve.

Contact Us today!
guy server checkup

You may also like

Leave a Comment