Announcement

Collapse
No announcement yet.

Change time zone in cPanel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change time zone in cPanel

    I want to change the timezone for my cPanel account to Asia/Calcutta while my server time zone is GTM -4.30.
    How can we make this change so that it take the Cpanel?

  • #2
    Change time zone in cPanel

    In order to change the timezone for any particular account on the cPanel server you can follow following steps:

    1. Login to the server as root.

    2. Navigate to the home directory of the account.

    [[email protected]~]# cd /home/user/public_html

    3. Open the .htaccess file. If it is not existing create it.

    [[email protected] public_html]# vi .htaccess

    4. Insert the following line in it

    SetEnv TZ “Asia/Calcutta”

    or

    php_value date.timezone “Asia/Calcutta”

    This will help you....
    Priscilla,
    WHUK VPS Supp0rt.

    Comment

    Working...
    X