Plesk

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

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:

    [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.

Exit mobile version