Hi! First post here.
Quick question. I've Ubuntu LTS with the correct time settings however zoneminder is 1 hour ahead.
Any hint?
[SOLVED] Wrong timezone
-
- Posts: 3
- Joined: Tue Mar 25, 2014 10:40 am
[SOLVED] Wrong timezone
Last edited by fmoreira86 on Tue Mar 25, 2014 3:34 pm, edited 1 time in total.
-
- Posts: 31
- Joined: Thu Aug 22, 2013 10:04 pm
Re: Wrong time
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
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
eg. find this area and you may have to Google to find your exact locale, modify it, save, restart Apache.sudo nano /etc/php.ini
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