Wordpress

WordPress PHP memory limit exhausted

I found out that the best way (for me) was to edit the following file:

wp-config.php

Now add the following line just below the other defines:

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

You can change the 64M to a larger value, like 128M, 164M or maybe as large as 256M.
This might only be possible if your host allows it.
If you get in trouble, just access the file through ftp and delete the line.

print

Leave a Reply

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *