Advertisements

Increasing the WordPress PHP Memory Limit

If you need to change your php memory limit due to a plugin that requires higher limits. This is what you need to do.

Edit your wp-config.php file and enter something like:

define('WP_MEMORY_LIMIT', '96M');
WordPress memory can be different to the server – you need to set this regardless of server memory settings – Increasing_memory_allocated_to_PHP

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)

If you don’t have access to PHP.ini try adding this to an .htaccess file:

php_value memory_limit 64M

If none of the above works then talk to your host provider.

Advertisements

Leave a reply:

Your email address will not be published.

Site Footer

Sliding Sidebar

Subscribe for updates

Enter your email address to subscribe to receive notifications of new content by email.

Join 5,882 other subscribers

Advertisements