FLASH SALE Get 20% OFF everything using the coupon code: FLASH20 View Pricing Plans →

Categories

Documentation

Theme Documentation



Plugin Documentation



Resources

How to Increase the WordPress PHP Memory Limit

On many hosting providers the default PHP Memory is usually 32 or 64 MB, however for WordPress that may not be enough sometimes, especially if you have a lot of plugins installed on your website.

We recommend to increase the memory to at least 512 MB.

If you’re not sure what is the current memory on your website, you can find out that in the WPZOOM Theme Options page, under the Import/Export > Demo Content section:

Increasing the WordPress Memory Limit

To address memory limit issues, there are two ways:

1. Increase it yourself by editing the “wp-config.php” file;
2. Contact your hosting company


1. Edit your wp-config.php file

The easiest solution to increase the WordPress memory limit is by editing the file “wp-config.php” from your WordPress directory.

Find the the line that says:

/* That’s all, stop editing! Happy publishing. */

then add this code before that line:

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

2. Contact Your Host

Should you not feel comfortable in trying the above methods, or the above did not work for you, you need to talk to your hosting about having them increase your memory limit.

Last updated on July 21, 2023

Related Docs