The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Server time problem...?

Discussion in 'General Discussion' started by x-man, Jun 22, 2005.

  1. x-man

    x-man Well-Known Member

    Joined:
    Jan 25, 2004
    Messages:
    118
    Likes Received:
    0
    Trophy Points:
    16
    I don`t know why but "Server Time" in WHM don`t work for apache, when I click on "Server Time" in whm that print time in my time zone but when I try to print time in PHP script:
    echo date("l dS of F Y h:i:s A");

    that print bad time!!

    Also, I see that apache use bad time for logs!

    In ssh command "date" print good time!

    How I can fix this??

    And one more thing "Change Hostname" in WHM don`t change value in /etc/hosts


    Is this problems with CentOS 3.5?? On my other server with CentOS 3.4 all work fine...
     
Loading...

Share This Page