You are not logged in.
Pages: 1
Hi!
I set up GLPI 9.4.0 on CentOS 7.
Got almost everything works well but cannot resolve problem with timezone.
At GLPI enviroment I see GMT time instead of GMT+3 that actually my timezone
I made all changes in php.ini, checked if php.ini loaded and made all actions that i found on forums and on google with no luck at all.
Restarted not only httpd but entire server
Below some CLI's :
#######################################
# php -r "phpinfo();" | grep date
date
date/time support => enabled
date.timezone => Europe/Moscow => Europe/Moscow
#######################################
# php -i | grep 'Configuration File'
Configuration File (php.ini) Path => /home/glpi_admin/php7/usr/etc
Loaded Configuration File => /home/glpi_admin/php7/usr/etc/php.ini
#######################################
# timedatectl
Local time: Fri 2019-02-15 13:00:29 MSK
Universal time: Fri 2019-02-15 10:00:29 UTC
RTC time: Fri 2019-02-15 10:00:29
Time zone: Europe/Moscow (MSK, +0300)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
#######################################
May be it happens because of wiered path to php.ini. I do understand that problem somewhere there,
but cannot imagine next step to dig, so asking community for help
Thank you in advance
Last edited by Oriental (2019-02-15 12:31:25)
Offline
Hi
I think we have this problem too since the new installation we made. Our GLPI is 1 hour behind.
greetings
Offline
Hi to all,
The problem still presist but went deeper as i installed "Timezones" plug-in mabe by Olivier Moron
And it somehow point me on MySQL on tables 'timezone...' offered to make actions as it described
in article "Populating the Time Zone Tables" in MySQL tutorial
Ofcourse everything is ok with timezones and current time on the MySQL host which is separate machine in my configuration.
This plug-in fixed timezone issue for my and for any other logins, but agents during connection sessions still "thinks" that UTC is allright.
I wonder if someone can point me on where i can change default timezone in MySQL base in GLPI base...
Offline
Pages: 1