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.
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
The setting is named: //* Complete timezone list: http://php.net/manual/en/timezones.php $conf['timezone'] = 'Europe/Berlin';
That might be the problem, don't have that line in either of the config files. Using ISPConfig 3.0.3.3
Ahh ok, you use a very old ISPConfig version. In this case you have to set the timezone in your php.ini files.
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
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.
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
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.
Hey Till, Very helpful information! Thanks! Were the timezone in these files are taken from somewhere during the installation, or they are hardcoded?
I have updated the timezone in these files to Asia/Kolkata but syslog still showing the utc time. I have also restarted apache server, thinking that it might have some relation. again when I update ispconfig, will these changes get overwritten?
I am used to log files having timestamps using UTC always. That makes comparing logs on different hosts easier. And no need to worry about daylight saving time moving back and forth. Now that I used Internet Search Engines, some admins are setting log files to use local time.