Limited offer - Lifetime plan now with 25% discount - Learn more

How to increase PHP memory limit?

How to increase PHP memory limit?

⌘K
  1. Home
  2. Docs
  3. Futurio
  4. FAQs
  5. How to increase PHP memory limit?

How to increase PHP memory limit?

Do it yourself

1. 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

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

2. 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;

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

php_value memory_limit 64M

Contact your host

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

Futurio PRO