Skip to content
Your Hosting Ad Goes Here KBAssets

How to Increase PHP Memory Limit in cPanel’s PHP INI Editor

In cPanel, the PHP memory limit can be adjusted using the PHP INI Editor. Increasing the PHP memory limit may be necessary for certain applications or scripts that require more memory to run efficiently.

Steps to Increase PHP Memory Limit:

  1. Login to cPanel: Access your cPanel account using your credentials.
  2. Navigate to PHP INI Editor: Once logged in, locate and click on the “PHP INI Editor” option. This is usually found under the “Software” or “Advanced” section of cPanel.

3. Select the Domain: Upon opening the MultiPHP INI Editor, you will be prompted to select a location. Choose the domain for which you want to increase the PHP memory limit from the dropdown menu. This will enable the editing options for that specific domain.

4. Locate the memory_limit Directive: After selecting the domain, scroll down until you find the “memory_limit” directive. This directive specifies the maximum amount of memory a PHP script can consume.

5. Increase the Memory Limit: Once you’ve located the “memory_limit” directive, you can increase the memory limit value.

6. Apply : After updating the memory limit value, ensure to click on the “Apply” button in the bottom of the page to save your changes.

Conclusion: Using cPanel’s MultiPHP INI Editor, you can easily increase the PHP memory limit for specific domains hosted on your account. By following these steps, you can adjust the memory limit to accommodate the requirements of your applications or scripts effectively.

Was this article helpful?
YesNo
Back To Top