WordPress is a powerful content management tool that comprises of industry leading features. You can create an efficient and impressive website just in few steps by utilizing the in-built features provided by WordPress.

WordPress script is included in Fantastico or Softaculous that is available free of cost with any cPanel hosting UK account. There is a default memory limit in WordPress [32 MB]; however this is not sufficient at times, especially if the incoming traffic increases.

What if there is any error and your WordPress blog stops functioning?

Fatal error: Allowed memory size of 33554432 bytes exhausted

If you encounter this error, you will have to contact the support team of the web host. If you try to make any changes in the .htaccess file, there are possibilities of your WordPress blog getting corrupted. It is crucial to backup the WordPress data before you make any changes in the WordPress file.

The issues mentioned above can be managed by navigating to the wp-config.php file that is present in the WordPress folder. This file can be edited through SSH or the File Manager by adding the line mentioned below in the wp-config.php file.

define(‘WP_MEMORY_LIMIT’, ’64M’);

The limit mentioned above can also be setup up to 128 MB.

If your website is hosted on a cPanel hosting account, you will have to talk to the web host for increasing the memory limit. As WordPress comprises of a collection of PHP files, you will also have to increase the memory limit of PHP.

You will find the PHP files on the cPanel severs at the following location:

/etc/php.ini

Find the line mentioned below in the file:

memory_limit =

Determine the memory limit in accordance with your needs.

memory_limit = 64M

In case you have two WordPress blogs of 64 MB each, you can go ahead and set the PHP memory limit to 128 MB as displayed below:

memory_limit = 128M

Once you have completed all the steps mentioned above, all you have to do is refresh your WordPress blog and the memory limit error will be gone.