Increase PHP Memory Limit in WordPress

  1. Edit the wp-config.php file on your WordPress site
  2. Place below code
  3. This code tells WordPress to increase the PHP memory limit to 256MB
define( 'WP_MEMORY_LIMIT', '256M' );