HOW TO: Change PHP Memory limit

Last modified: March 13, 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.

cPanel-show-PHP-option-to-modify
Show PHP option to modify

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
Select memory value

6. Lastly, hit the Save button.

cPanel-save-PHP-version
Save PHP version
Was this article helpful?
Dislike 0
Views: 40