How can I increase the memory_limit for Roundcube?
Procedure
The following command will give you the link to the php.ini file and the PHP version that Roundcube is using:
ls -Flathr /usr/local/cpanel/3rdparty/etc/roundcube/php.ini
lrwxrwxrwx 1 root root 55 Mar 14 18:06 /usr/local/cpanel/3rdparty/etc/roundcube/php.ini -> /usr/local/cpanel/3rdparty/php/74/etc/roundcube/php.ini
The current default value is 512MB.
grep -Ei memory_limit /usr/local/cpanel/3rdparty/php/73/etc/roundcube/php.ini
memory_limit = 512M
Using your preferred editor (vim/pico/nano/etc), you can open the file over the command line and locate the setting “memory_limit” and change the value. The value can be adjusted in small increments (for example of 200M) until the request is fulfilled.
Once you’ve adjusted the memory_limit to the desired value, cpsrvd will need to be restarted to save these new changes. This can be completed using the below command:
/scripts/restartsrv_cpsrvd
cPanel. “How to Increase the Memory_limit Directive for Roundcube?,” March 24, 2022. https://support.cpanel.net/hc/en-us/articles/4988057653399-How-To-Increase-The-memory-limit-Directive-For-Roundcube-.
Make sure to check out our social media to keep track of the latest content.
Instagram - @nyongesasande
Twitter - @nyongesasande
Facebook - Nyongesa Sande
YouTube - @nyongesasande
Disclaimer: The information that Nyongesasande.com provides on this website is obtained from publicly available resources and is intended for information or educational purposes only. We aim to present the most accurate information possible. Through this website, you might link to other websites which are not under our control. We have no control over the nature, content and availability of those websites. Inclusion of any links does not necessarily imply a recommendation or endorsement of the views expressed within them. All content on this website is copyright to the website’s owner and all rights are reserved. We take no responsibility for, and will not be liable for, the website being temporarily unavailable due to technical issues beyond our control. Please refer to our terms and conditions and privacy policy before using this website.