Articles in this section

How to make custom changes in Roundcube/Horde configuration files persistent?

kb: how-to Plesk for Linux

Question

How to make custom changes in Roundcube/Horde configuration files persistent?
For example, increase memory_limit value.

Answer

  1. Connect to the server via SSH.

  2. Create a special php.ini.tpl.local file using touch command:

    • For Roundcube: /usr/share/psa-roundcube/config/php.ini.tpl.local
    • For Horde: /etc/psa-webmail/horde/horde/php.ini.tpl.local
  3. Add required custom changes, for example, increase the memory_limit value to 512M and save the file:

    CONFIG_TEXT: [PHP]
    memory_limit = 512M

  4. Re-install Roundcube/Horde to apply changes.

Note: php.ini.tpl.local files can be created before Roundcube/Horde installation. In that case, it is not needed to re-install webmails. Make sure that the file belongs to roundcube_sysgroup group.

Was this article helpful?

Comments

2 comments
Date Votes
  • When creating a custom Roundcube configuration (config.local.php), the file must belong to the roundcube_sysgroup group in order to take effect.

    0
  • Lennert Daniels thank you for your note, I've added it to the article.

    0

Please sign in to leave a comment.