Loading...

How to update the WordPress memory limit from cPanel?

How to update the WordPress memory limit from cPanel?

You can freely alter, i.e increase, the memory limit for WordPress.

Follow the steps given below to increase the memory limit:

  1. First, log in to your cPanel, using your account.

  2. Next, go to the Files section and click on File Manager.



  3. Inside the File Manager, browse to your domain’s root folder. It is generally public_html for the main domain and addon domain. Choose the wp-config.php file and then click the Edit button.



  4. A pop-up window will open, here you need to select the encoding of the file. Then click on Edit.    



  5. Next, the editing window will open. Add the code given below:

 

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

 

/* That's all, stop editing! Happy blogging. */

Any memory limit of your preference can be assigned to replace ‘256M‘.  Next click on the Save Changes button.

After that, a success message will flash, which means that the memory limit for your WordPress site is set.

 

Did you find this article useful?

Related Articles

How to add password to WordPress admin directory via cPanel ? In WordPress, you can access the WordPress admin directory by logging into your WordPress admin acco...
How to fix 500 internal server error ? There is no clear-cut solution to solve the 500 internal server error. You have to try various tips ...
How to change WordPress URL using phpMyAdmin in the DirectAdmin? The WordPress URL can be changed manually, by the use of phpMyAdmin from the DirectAdmin panel. To c...
How to set up caching for your WordPress website? With the use of Caching, your website's speed can be improved as it acts as the memory and saves som...
How to protect your Site from Brute force attacks? Hackers can upload malicious malware using brute force attacks. It can cause your site to become ina...

Categories

Website Maintenance 42
Website Maintenance Knowledge Base
SEO Services 40
SEO Services Knowledge Base
Website Design 51
Website design
Google Workspace 56
Set up Google Workspace for your team. Discover how to manage a team, migrate emails, share files, work from anywhere, and set up mobile management.
Billing 25
All type of billing information
Client Area Guide 1
Client Area Features
Delegate Access 10
Articles on Access Delegation for Third-party Platforms
Password Management 5
Password Management at Aarav Infotech India Pvt. Ltd.
WordPress 63
Knowledge base for WordPress

Shopping Cart

Your cart is empty