In this tutorial, we are going to show you how you can increase your WordPress memory limit using various methods.
If you are getting an error saying something along the lines of “Not Enough Memory allowed for PHP. You have 32 MB. You need at least 64MB” then you can usually resolve this by completing one of the below steps:
How to Increase WordPress Memory Limit
1.) Edit your
wp-config.php file and enter something like:
2.) If you have access to your
PHP.ini file which you can usually access via cPanel or Plesk, change the line in
If your line shows 32M try 64M:-
memory_limit = 64M; #Maximum amount of memory a script may consume (64MB)
You can always contact your web hosting provider to make the change if you are unsure.
3.) If you don’t have access to
PHP.ini try adding this to your
php_value memory_limit 64M
If none of the above works for you, the only option you have is to contact your host and they can quickly get this resolved for you. If you want some support, you can always get in touch with our team or leave a comment below.
One thought on “How to increase WordPress Memory Limit”
Helpful post. I am using a blog website but I will take my new WordPress website.