Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Server time problem...?

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

  1. x-man

    x-man Well-Known Member

    Jan 25, 2004
    Likes Received:
    Trophy Points:
    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...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice