Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Default timezone on Horde

Discussion in 'E-mail Discussion' started by vgv, Apr 11, 2014.

  1. vgv

    vgv Registered

    Mar 16, 2007
    Likes Received:
    Trophy Points:
    With the update to Horde Groupware 5.1, the default timezone has been lost and so Horde uses UTC. According to the developers the timezone is set like that:

    I tried to export the TZ enviroment variable using a .bashrc file on /var/cpanel/userhomes/cpanelhorde, but it didn't worked as cpanelhorde uses /usr/local/cpanel/bin/noshell as shell.

    The timezone on /usr/local/cpanel/3rdparty/php/54/etc/horde/php.ini is not set. I changed it to my timezone and worked, but it will be overwritten by cpanel update.

    Is there any form of making it permanent and ensuring it will not be overwritten by an update?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could setup a hook that runs after cPanel updates to ensure the date.timezone setting is applied to the php.ini file. This would be similar to the method described here:

    Postupcp for Roundcube

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice