ISPConfig 3 Time/Date

Discussion in 'Installation/Configuration' started by Kiltak, Jul 4, 2013.

  1. Kiltak

    Kiltak New Member

    Changed my server time to another timezone but ISPConfig is still showing the old timezone (one hour off), I've been looking around but can't find any information regarding updating/changing the time on ISPConfig.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The timezone is set in the ISPConfig configuration files:

    /usr/local/ispconfig/interface/lib/config.inc.php
    /usr/local/ispconfig/server/lib/config.inc.php
     
    inside83 likes this.
  3. Kiltak

    Kiltak New Member

    I looked at those files and didn't saw an entry regarding timezone/time
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    inside83 likes this.
  5. Kiltak

    Kiltak New Member

    That might be the problem, don't have that line in either of the config files.

    Using ISPConfig 3.0.3.3
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ahh ok, you use a very old ISPConfig version. In this case you have to set the timezone in your php.ini files.
     
  7. inside83

    inside83 Member

    Is it necessary to reboot for timezone changes to take effect?
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no reboot required.
     
    inside83 likes this.
  9. Rafael Dias

    Rafael Dias New Member

    Hello ,
    I'm having a problem. I changed the files that you mentioned in this thread, but when I type date in terminal, I still get the wrong time. What can be causing this? Im running ispconfig 3.9.5.4p9
     
  10. inside83

    inside83 Member

    Really? :)
    What's your OS?
     
    Thaddeus likes this.
  11. Rafael Dias

    Rafael Dias New Member

    I'm running CentOS 7
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    The above thread is about changing the time zone in ispconfig and not about changing the time zone on your shell. Thats something completely different. If you want to change the time zone on your shell, google for "centos timezone change", I'm pretty sure you will find a lot of guides for your OS.
     
  13. Appie Thrasher

    Appie Thrasher Member HowtoForge Supporter

    Till I know its an old topic, but hee proof that I am searching first hehe.
    Anyway My server is running the correct time when I check it with the date command, but my (Joomla) site is showing 2 hour difference, time zone is set to Amsterdam.

    So do I need to chance the setting like this than also in ISPConfig to get timing correct?
    Its not a problem but its enoying me for some time now...

    Greetz,

    Appie
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    You can set the timezone in php.ini globally, then it will affect all sites and ispconfig. Or you can set it in ispconfig as shown above, then this will affect ispconfig only.
     
  15. Appie Thrasher

    Appie Thrasher Member HowtoForge Supporter


    Thanks Till will take a look at it..

    Appie
     

Share This Page