Home / UPDATE Feed / Web Tutorial / wordpress / How to increase wp memory limit

How to increase wp memory limit

Login to your Cpanel , Than go to “file manager” open “public HTML” Edit the code of “config.php”
use this code “define(‘WP_MEMORY_LIMIT’, ’64M’);”

#1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

#2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M

#3. Try adding this line to your wp-config.php file:
Increasing memory allocated to PHP
define(‘WP_MEMORY_LIMIT’, ’64M’);

#4. Talk to your hosting company.

These days, even 128MB can be “tight” as plugins, themes and WordPress itself keep growing.