zabbix5.0报错PHP时区未设置(配置参数"date.timezone")


解决办法 :

 #1、编辑文件/etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf,取消注释并设置为所在地时区

vim /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf

#2、修改后好后重启PHP(切记)

systemctl restart rh-php72-php-fpm

#3、重新登录就不会报错了