Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2004
    Posts
    333

    Time on server, problem :(

    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 A");

    that print bad time ( -7 hours) !!

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

    In ssh command "date" print good time!

    How I can fix this??

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

  2. #2
    Join Date
    Aug 2004
    Posts
    333
    After apache rebuild all work fine

Posting Permissions

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