How to Increase PHP Memory Limit in WordPress

A small PHP memory limit in WordPress can cause issues such as the Elementor page builder plugin editor infinite loading, site speed issues and Allowed Memory Size Exhausted WordPress error message.

Since Premium Addons extends your editor with 70+ elements, we strongly recommend increasing the PHP memory limit to meet the minimum plugin system requirements.

If you’re not sure what is the current memory limit on your website, this article will help you find the actual value.

In this article, we’ll share the steps to increase the PHP memory limit.


To Do So

1- Using your hosting CPanel or FTP client, open your website installation root directory -> find the “wp-config.php” file, and click on View/Edit.

Connect To Your Website Using FileZilla
Using The CPanel or FTP Client To Connect To Your Website
Navigating To The wp-config.php File in Your Website Installation Root Directory
Find The wp-config.php file

Add the following code before the line that says “Happy publishing”:

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

Modifying The wp-config.php File
Adding The Code To The wp-config.php File

2- Save the changes.


That’s it!

Very Simple, right?

If you still need any further assistance, feel free to contact the Premium Addons support team. We would be more than glad to help 😁

Join the Community

You’re most welcome to join our channels to get updates about new features, improvements, and bug fixes.

Leave a Reply

Download Now it's free!

Extend your Elementor Page Builder capabilities now with Premium Addons. 44+ Elementor Widgets Totally Free of charge.

Premium Addons for Elementor plugin logo

Stay Updated

Subscribe to our newsletter to receive the latest updates and features.