Increasing the PHP Memory Limit of Your WordPress Website

Increasing the PHP Memory Limit of Your WordPress Website

Are you trouble with wordpress php memory limit issue that says: Fatal Error: Memory Size Exhausted? Or maybe your website just went white screen? when you install a new theme, plugin or upgrade your WordPress to the latest version.

The main cause of this error is that the PHP memory limit of your host is lesser than the process actually needs. In such cases, you will need to increase your host memory limit, so that the process gets completed. You can increase your host memory limit by following methods mentioned below.

You can use this method that helps increase memory limit through the wp-config.php. You can add the following line of code in your wp-config.php file before

/* That’s all, stop editing! Happy publishing. */.

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

2. Method Two: Modifying the .htaccess file

You have to login your hosting cPanel and click file manager there have the .htaccess file where you can simply add a line of code to increase the memory limit.

php_value memory_limit 256M

Note: If you don’t know how to do it then please send a message here

You may also like

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
Say Hi To Muhinz!
Say Hi To Muhinz!
[contact-form-7 id="200" title="Contact Form"]
Say Hi To Muhinz!
[contact-form-7 id="200" title="Contact Form"]
Say Hi To Muhinz!
Newsletter
Join my subscribers list to get latest tips, updates, news and special offers
We use cookies to ensure that you get the best experience.
0
Would love your thoughts, please comment.x
()
x