All Systems Operational|support@delhihosting.com
WordPress

How to Increase the PHP Memory Limit for WordPress

5 Jan 2026 · 4 min read · DelhiHosting Team

Heavy plugins, big page builders and large sites sometimes need more memory than WordPress allows by default. Raising the PHP memory limit prevents crashes and blank screens.

When you need more

Symptoms of low memory include a white screen, "allowed memory size exhausted" errors, or a sluggish admin. These mean WordPress hit its memory ceiling mid-task and gave up.

How to raise it

On our hosting, use cPanel’s MultiPHP INI Editor to increase the memory_limit value, or define WP_MEMORY_LIMIT in wp-config.php. A limit of 256M suits most sites; very heavy sites may need more.

Don’t just keep raising it

If you constantly need more memory, a bloated plugin or theme is often the real cause. Investigate what’s consuming it rather than endlessly increasing the limit.

Quick tips
  • Watch for "memory exhausted" errors
  • Raise memory_limit in cPanel or wp-config
  • 256M suits most sites
  • Investigate heavy plugins if it recurs
Key takeaway

Raise the PHP memory limit to stop crashes on heavy sites — but if you keep needing more, find the plugin that’s eating it.

Related WordPress guides

Need a hand with this?

Our Delhi-based engineers set up, secure and speed up WordPress for you — free migration included.