Page 1 of 1
[SOLVED] Wrong timezone
Posted: Tue Mar 25, 2014 10:43 am
by fmoreira86
Hi! First post here.
Quick question. I've Ubuntu LTS with the correct time settings however zoneminder is 1 hour ahead.
Any hint?
Re: Wrong time
Posted: Tue Mar 25, 2014 11:01 am
by basketcase
I've had this before, turned out to be my PHP timezone settings.
Need to modify the timezone property in php.ini wherever your php config files are installed
On a Centos install I find it here: /etc/php.ini
sudo nano /etc/php.ini
eg. find this area and you may have to Google to find your exact locale, modify it, save, restart Apache.
Code: Select all
;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = Australia/Brisbane
Re: Wrong time
Posted: Tue Mar 25, 2014 3:33 pm
by fmoreira86
Solved.
Thanks