Skip to main content
All CollectionsTechnical SupportcPanel
Adjusting PHP Memory settings
Adjusting PHP Memory settings
Carlos Escalante avatar
Written by Carlos Escalante
Updated over a week ago

To change the memory_limit for PHP, please follow these steps:
- Log into cPanel.
- Find and click 'Select PHP Version'.
- Then click 'Options' tab there will be a list of options you can modify.
- You can adjust your PHP memory Limit.
- Once you selected the Memory Value, click the Apply button.
- Lastly, hit the Save button.

If you are using Wordpress, you may need to also edit the wp-config.php file to apply these changes:

  1. Log into cPanel and get into the File Manager.

  2. Find the file wp-config.php file, usually located at the public_html folder.

  3. Right click on top of the wp-config.php and select Edit.

  4. Find the line /* That's all, stop editing! Happy publishing. */

  5. Right above the line in the previous step, add this code: define('WP_MEMORY_LIMIT', '256M');

  6. Select Save Changes and then Close.

Did this answer your question?