Knowledgebase

How to Increase WordPress PHP Memory Limit to 512M Print

  • 0

Fix WooCommerce, Elementor, and Divi out-of-memory crashes.

Step-by-Step Instructions

  1. Edit wp-config.php above 'That's all, stop editing!'.
  2. Add WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT.
  3. Match memory_limit = 512M in PHP INI Editor.
define('WP_MEMORY_LIMIT', '512M');
define('WP_MAX_MEMORY_LIMIT', '512M');

Pro Tip: Elementor and WooCommerce perform noticeably smoother with 512MB PHP memory.

Need assistance? Open a ticket in the A1 Client Area or contact our 24/7 NOC Engineering Team on WhatsApp at +1 (406) 229-9597.


Was this answer helpful?

« Back