MySQL/PHP timezone requirement?


I’ve raised an issue here about getting an error when trying to load the reporting module:

As far as I can see my MySQL server’s time zone is set to SYSTEM. Does it need to be set to another value for Icingaweb2 to work properly? I can’t see anywhere in the documentation that specifies it needs to be something else?




did you set the timezone in your php.ini as well?

Yes, I’ve set

date.timezone = "Europe/London"

in /etc/opt/rh/rh-php71/php.ini

php_admin_value[date.timezone] = "Europe/London"

in /etc/opt/rh/rh-php71/php-fpm.d/www.conf

Also tried with PHP FPM 7.3 as well with no luck.

Then I’m out of ideas. But I saw you got answers from the developers on git

Well, they said to ask on the forum :slight_smile:

ah ok, then I hope that others have more ideas about this. The most problems we had, was if we forgot the php.ini in new setups.