Fix: WordPress Memory Exhausted Error – Increase PHP Memory
- By Preneesh AV --
- 17-Dec-2018 --
- 103 Comments
WordPress automatically tries to increase PHP memory limit if it is less than 64MB.
In order to easily increase PHP memory limit in WordPress to avoid memory exhausted error.
First you need to edit the wp-config.php on your WordPress site. It is located in your site’s root folder, and you will need to use an ftp client like filezilla or file manager in your web hosting control panel.
Ppaste this code in wp-config.php file ;
define(
'WP_MEMORY_LIMIT'
,
'256M'
);