[CPANEL-30241] Webmail wrong timezone
Hi there,
Out server time is correct:
BRT has a UTC offset of - 3:00
-----------------------------------
[#@server ~]# date
Mon Nov 11 16:41:26 -03 2019
-----------------------------------
Everything seems to be right, however, both webmails are showing the wrong time, exactly 1 hour ahead. Where could i change that?
Brazil should be in the daylight savings time right now, however a few months ago our beloved president decided we wont have it this year. Maybe there's some outdated database that our server, cpanel, or the webmails are following?
Thanks!
-
Hello, This is a result of Brazil having recently stopped utilizing DST. We have a case open for this CPANEL-30241- Update internal PHP's timezone database to support Brazil DST change It's currently in progress and I'll update here when the issue is resolved. There is a note in the internal case that the following could potentially be a temporary workaround: /usr/local/cpanel/3rdparty/php/73/bin/pecl install timezonedb echo "extension=timezonedb.so" >> /usr/local/cpanel/3rdparty/php/73/etc/php.ini
But it will not be effective on EL6 servers due to the autoconf being too old. Please let me know if that works for you and I will update here when there is any further movement on the case. Thanks!0 -
Hi Lauren. I have this same problem on my servers, I ran the command informed and it did not work. 0 -
Hello, It looks like there's an updated workaround as of this afternoon: Please run the following and let me know: /usr/local/cpanel/3rdparty/php/73/bin/pecl install timezonedb
echo "extension=timezonedb.so" >> /usr/local/cpanel/3rdparty/php/73/etc/php.ini.dist
/usr/local/cpanel/bin/checkphpini
/usr/local/cpanel/bin/install_php_inis0 -
/usr/local/cpanel/3rdparty/php/73/bin/pecl install timezonedb
echo "extension=timezonedb.so" >> /usr/local/cpanel/3rdparty/php/73/etc/php.ini.dist
/usr/local/cpanel/bin/checkphpini
/usr/local/cpanel/bin/install_php_inis
Hello Lauren! This worked for me, thank you for the solution.0 -
Hello @cPanelLauren Today the problem recurred, yesterday when I ran the command worked. 0 -
Hello @Marcinho2D To confirm, you performed all actions listed? If so, I'd suggest opening a ticket so our analysts can look into the issue further. 0 -
@cPanelLauren sorry. I had run the commands for php72 that was on the server and it worked, but another operator changed the server to php73 and stopped working. I executed the commands now for php73 and it is working, any problem I speak. Thank you very much. 0
Please sign in to leave a comment.
Comments
8 comments