How to increase wp memory limit in WordPress?

The following steps will assist you in increasing WordPress memory limit:

1. Go to cPanel Files section > File manager menu:

2. Navigate to the root folder of your domain (by default, it is public_html for the main domain and addondomain.tld for the addon domains). Select wp-config.php file and click Edit:

Add the following code right before the /* That’s all, stop editing! Happy blogging. */’ line:

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

Leave a Reply

Your email address will not be published. Required fields are marked *