How to adjust memory_limit in cPanel MultiPHP INI Editor

Category: cPanel

If your site shows memory exhausted errors, you can adjust memory_limit per domain from cPanel without changing server-level settings.

Before you start

  • Confirm which domain is affected by the error.
  • Identify the current memory_limit value.
  • Pick an initial target value, for example 256M.

Steps

  1. Sign in to cPanel and open MultiPHP INI Editor.

    Find MultiPHP INI Editor in cPanel

  2. In Basic Mode, open – Select a location – and choose the domain where the error appears. Avoid Home Directory unless you want to apply the change to the account-level PHP configuration.

  3. In the PHP Directive / Information / Setting table, find memory_limit and enter the required value, for example 256M or 512M.

    memory_limit field selected in MultiPHP INI Editor

  4. Click Apply.

  5. Confirm that cPanel shows Successfully applied the settings.

    Settings successfully applied confirmation in cPanel

Final verification

  • memory_limit shows the new saved value for that domain.
  • The action that failed no longer shows a memory exhausted error.
  • The site stays stable after the adjustment.

Common errors

  • The change does not apply → a different domain was edited → return to the editor and verify the selected domain.
  • The same error still appears → the value is still too low for that process → increase it gradually and test again.
  • The site becomes unstable after a high value → the setting is too aggressive for your plan → return to a moderate value and review plugins.

Still need help?

If this guide didn’t solve your issue, our team can help you via ticket.