+ Reply to Thread
Results 1 to 4 of 4

Thread: Time On Website

  1. #1
    Join Date
    Jun 2008
    Posts
    2

    Default Time On Website

    Hi,

    Can anyone tell me How to change the time in Bluehost.
    I want to change my website standard time as EST.

    Thanks in advance
    Suja

  2. #2
    Early Out's Avatar
    Early Out is offline Former Moderator, Still Respected
    Join Date
    Mar 2006
    Location
    Sector R
    Posts
    4,650

    Default

    BH is located in the Mountain Time Zone, so all server stats reflect that local time. For PHP applications, you can change the time zone by adding a line to your php.ini:

    Code:
    date.timezone = "America/New_York"

  3. #3
    Join Date
    May 2008
    Posts
    18

    Default

    Hi, I have the same question, but I am not sure where to put the php.ini file. I created one under public_html with just that line set to date.timezone = "Europe/Gibraltar".

    However my php info says date.timezone is not set.

    Sorry. Just to elaborate, using phpinfo(); in the public_html directory does say its set to Gibraltar, but when I view the PHP info from within the Joomla 1.5 administration backend it says;

    Default Timezone = America/Denver

    and

    date.timezone = no value
    Last edited by Alex53; 09-29-2008 at 07:56 AM.

  4. #4
    Join Date
    Apr 2008
    Posts
    407

    Default

    On Bluehost, you have to copy your php.ini file into every directory that you want it to take effect in.

    If you have shell access, you can do this with one easy command:
    Code:
    find * -type d|xargs -i cp --verbose php.ini {}
    Hope that helps.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts