[Solved] zabbix5.0 error: PHP time zone is not set (configuration parameter “date.timezone”)

Solution:

#1. Edit the file /etc/opt/rh/rh-php72/php-fpm.d/zabbix.con, uncomment and set to the local time zone

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

#2. Restart PHP after modification (remember)

systemctl restart rh-php72-php-fpm

#3. If you log in again, you won’t report an error

Similar Posts: