PHP Wordpress Memory Limit Error

Published: 01 May 2024
on channel: Knowledge Base
68
3

Memory limit error is a common error while working with cpde extensive websites in PHP and Wordpress. If you have lots of pages and plugins installed on your site it can cause an error of memory limit. Site will start working and the new pages will stop being updated.
To resolve this error you can use the following code in

Wp-config.php file
define('WP_MEMORY_LIMIT', '32M');
ini_set(‘memory_limit’,’256M’);

php.ini
memory_limit = 32M

.htaccess
php_value memory_limit 256M


On this page of the site you can watch the video online PHP Wordpress Memory Limit Error with a duration of hours minute second in good quality, which was uploaded by the user Knowledge Base 01 May 2024, share the link with friends and acquaintances, this video has already been watched 68 times on youtube and it was liked by 3 viewers. Enjoy your viewing!