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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Default timezone on Horde

Discussion in 'E-mail Discussions' 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 Forums Analyst
    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.

Share This Page