MySQL/PHP timezone requirement?

Hi,

I’ve raised an issue here about getting an error when trying to load the reporting module: https://github.com/Icinga/icingaweb2-module-reporting/issues/75

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?

Thanks,

Will.

Hi,

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
and

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.