How to Increase PHP Memory Limit- WPManageNinja

July 11, 2018

How to Increase PHP Memory Limit?

Share :

Subscribe for the latest update on our products
Blog Subscribe Form

We will never spam you. We will only send you product updates and tips.

Are you stuck with exhausted PHP memory? It can happen at any time as it’s one of the most common WordPress errors. You can resolve the issue simply by increasing the memory limit.

To do so, you have to go to the wp-config.php file and simply add the following code.

define(‘WP_MEMORY_LIMIT’, ‘138’);

Here, you can use a number as you need in place of 138.

This is how you can simply fix the issue. Hopefully, this pro-tip was helpful. Find more Pro-tips here.

Sazzadul Bari
Sazzadul Bari Hi, this is Sazzadul Bari, Digital Marketing Strategist at WPManageNinja. SEO content writing, outreaching, link building, and lead generation are my specializations. And when I am not drooling over WordPress plugins and updates, you’ll find me enjoying sports or going through my favorite books.

Related Posts

  • optimum learning

    9 Key Instructional Design Principles for Optimum Learning

    February 14, 2023
  • how to add email subscription to wordpress

    How to Add Email Subscription to WordPress (4 Easy Steps)

    July 19, 2022
  • ROI of customer support

    Why Customer Support is an Investment, Not an Expense!

    July 6, 2022
Comments
  1. […] Solution 4. Sometimes this WordPress error might be triggered if you exhaust your PHP memory limit. Try increasing the PHP limit.  […]

  2. […] Solution 4. Sometimes this WordPress error might be triggered if you exhaust your PHP memory limit. Try increasing the PHP limit.  […]

Leave a Reply