Start a Chat Sales: 0800 862 0890 Client Area
Results 1 to 3 of 3

Thread: Changing time zone for a single account

  1. #1
    WHUK-Sarina is offline Junior Member
    Join Date
    Jun 2010
    Posts
    17

    Default Changing time zone for a single account

    If you want to change timezone for a single account on a cPanel server you can follow following simple steps for this.

    1) Login to the server as root.

    2) Navigate to the home directory of the account and create a .htaccess file. If it already exists you can add the following line to the top of the file.

    3) Insert the following line in it

    SetEnv TZ “TimeZone”

    or

    php_value date.timezone “TimeZone”
    Replace the TimeZone with appropriate time zone as per your convenience. For Eg:: Asia/Calcutta

    Refer PHP: List of Supported Timezones - Manual for the list of available timezones.

    You are done.
    WHUK-Sarina
    Linux Support Department

  2. #2
    visio is offline Junior Member
    Join Date
    Apr 2007
    Posts
    11

    Default

    why login as root? why not go to cpanel>>> file manager
    and edit the file from there?

  3. #3
    sysadmin's Avatar
    sysadmin is offline Administrator
    Join Date
    Oct 2006
    Posts
    325

    Default

    Quote Originally Posted by visio View Post
    why login as root? why not go to cpanel>>> file manager
    and edit the file from there?
    That would be good too..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Copyright 2001-2013 Web Hosting UK. All rights reserved.