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
-
Connect to the server via SSH.
-
Create a special
php.ini.tpl.localfile usingtouchcommand:- For Roundcube:
/usr/share/psa-roundcube/config/php.ini.tpl.local - For Horde:
/etc/psa-webmail/horde/horde/php.ini.tpl.local
- For Roundcube:
-
Add required custom changes, for example, increase the
memory_limitvalue to512Mand save the file:CONFIG_TEXT: [PHP]
memory_limit = 512M -
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.
Comments
When creating a custom Roundcube configuration (
config.local.php), the file must belong to theroundcube_sysgroupgroup in order to take effect.Lennert Daniels thank you for your note, I've added it to the article.
Please sign in to leave a comment.