I used the appliance install iso from zabbix, to set up my hosts and proxy´s. The time zone is off, if i create a phpinfo file i can see its set at Europa/riga, but the php file in /etc/php5/apache2/php.ini does not have a default timezone set. If i try and set the correct timezone there, the phpinfo file, just shows 2 timezones, and the time is still off.
I have tried to make a php file with echo date('Y-m-d H:i:s');, to see what time it prints, and its an hour ahead, just like the zabbix interface. I am unable to find any other files where i can change the timezone. Do any one know how to fix this?
I have also tried to copy it from
sudo cp /usr/share/zoneinfo/Europe/Copenhagen /etc/localtime
and then restart the apache server, but it still have the wrong timezone...
I have tried to make a php file with echo date('Y-m-d H:i:s');, to see what time it prints, and its an hour ahead, just like the zabbix interface. I am unable to find any other files where i can change the timezone. Do any one know how to fix this?
I have also tried to copy it from
sudo cp /usr/share/zoneinfo/Europe/Copenhagen /etc/localtime
and then restart the apache server, but it still have the wrong timezone...
Comment