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.
Was this article helpful?
- Failed: Filesystem preventing downloads. (ftpext)
- How to Fix 404 Errors on Custom Post Type
- How to Increase the Maximum File Upload Size in WordPress
- How to Upgrade PHP Version on Your Website
- I made some changes and I can’t see them?
- Is my WPZOOM Theme Compatible with Gutenberg?
- Supported & Unsupported Hosting Providers
- Twitter widget: troubleshooting