WordPress

How to Increase WordPress Memory Limit – 5 Ways

  • nahian28
  • October 2, 2022
  • 2 Minutes Read
  • 199 Views

Sites built with WordPress often show memory limits when uploading large files. How we can quickly increase the memory limit will be discussed in detail in this post. Let’s get started.

1. Edit the wp-config.php file

If you can code, you can quickly increase the memory limit by editing the wp-config.php file and getting it.

You can directly find a wp-config.php file from wp-content, or you can use File Transfer Protocol (FTP) system to connect and access your WordPress files.

Now open the wp-config.php file and search text define(‘WP_MEMORY_LIMIT,’ ’32M’); Here, you can give 56 or 128 or 256 instead of 32 ways. But usually, not that much memory is required.

2. Edit the php.ini file

Now, we are going to check our second step. We can edit out the PHP.ini file. However, never forget this file manages the server settings.

Now, we are going to check our second step. We can edit out the PHP.ini file. However, never forget this file manages the server settings.

Then ‘memory_limit = 32M’ and change it again to read 128M. by the way, it’s not a bad idea to change the max_execution_time line.

3. Edit your .htaccess file

Our last coding editing system is to modify the .htaccess file. It is a hidden file, and if it has a “.” front means a remote file. Ensure all hidden files show the option if you don’t see confidential files. Now you can search “php_value memory_limit” and change values like 64M or 128M, or 256M as your wish. Finally, save the file as usual.

4. Install Free Plugin

If the avobe coding system does not work, you can install a plugin, such as the WordPress WP Memory Limit, Memory Usage, and Server Memory plugin. It allows you to change the available PHP memory without needing to access or modify files.

5. Contact your hosting provider

Did you try avobe all but fail? Don’t worry. You can contact your hosting provider. They can quickly increase memory limits for you.

But depend on hosting packages like Shared or Dedicated or Private Servers. Contact with a hosting provider is the most effortless & quick solution with risk-free.

I hope you can quickly increase your WordPress memory limit through this post.

Hi, I'm Abdullah Nahian

A petite and ordinary man. I like working with web design and development. I also try to read, write and make videos on this subject.

Hi, I'm Abdullah Nahian

A petite and ordinary man. I like working with web design and development. I also try to read, write and make videos on this subject.

Categories
Visitors
  • Online Now - 0
  • Today's Visitors - 31
  • Today's Visit - 76
  • Yesterday's Visit - 65
Subscribe to our Newslatter

Sign up for free and be the first to get notified about new posts.