HOW TO: Change PHP Memory limit

Last modified: March 29, 2020
You are here:
Estimated reading time: < 1 min
To change the memory_limit for PHP, please follow these steps:

1. Log into cPanel.
2. Find and click ‘Select PHP Version‘.

cPanel-select PHP version
Select PHP Version


3. Then click ‘Show PHP Options‘ there will be a list of options you can modify.

Click ‘Show PHP Options’


4. You can adjust your PHP memory Limit up to 512MB.

5. Once you selected the Memory Value, click the Apply button.

cPanel-select-memory value
Once selected the Memory Value, click the Apply


6. Lastly, hit the Save button.

Save the changes


Was this article helpful?
Dislike 0
Views: 17