Post by: / March 2, 2022

Fix: WordPress Memory Exhausted Error – Increase PHP Memory

Increase PHP Memory Limit in WordPress

First you need to edit the wp-config.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.

Next, you need to paste this code in wp-config.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’

 

define( 'WP_MEMORY_LIMIT', '256M' );