IT Toolbox
Menu
HomeHow to Increase WordPress PHP Memory
Guide

How to Increase WordPress PHP Memory

Reasonably add the memory limit available for WordPress when, a memory error l, requires

TopicIT resources → About 1 min read

Reasonably add the memory limit available for WordPress when, a memory error the requires.

Steps….

  1. Check the current limit — See Tools > Site health > Information > Server.
  2. Control the boundaries of the hosting — WordPress value cannot exceed the limits actually allowed by PHP/host.
  3. Edit wp-config.php if appropriate — Add a WP_MEM constant before the end of edition line.
  4. Retester site – Check if the error disappears.
  5. Searching for cause — Excessive consumption may come from a plugin, a theme or an abnormal request.

Commands

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

Key takeaways

  • Overtime incrementing memory does not fix a faulty leak or plugin.
  • Contain a copy of wp-config.php before modification.
Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI

My favorites