zabbix / zabbix-docker

Official Zabbix Dockerfiles
https://www.zabbix.com
GNU Affero General Public License v3.0
2.39k stars 1.38k forks source link

How do I change the time zone in zabbix-web-apache-pgsgl? #74

Closed AtomStark closed 7 years ago

AtomStark commented 7 years ago

Using the change does not work.

AtomStark commented 7 years ago

A link that you provide does not work

dotneft commented 7 years ago

Apache configuration file for Zabbix frontend is located in /etc/httpd/conf.d/zabbix.conf. Some PHP settings are already configured. But it's necessary to uncomment the "date.timezone" setting and http://php.net/manual/en/timezones.php|set the right timezone for you.

php_value max_execution_time 300 php_value memory_limit 128M php_value post_max_size 16M php_value upload_max_filesize 2M php_value max_input_time 300 php_value always_populate_raw_post_data -1

php_value date.timezone Europe/Riga