i have already searched here and tried a lot of things, but my problem still is "alive"

It is possible to set WP_MEMORY_LIMIT within the default-constants.php and this works fine, but every time I update wordpress I have to make this setting again. So my wp-config.php does not overwrite the setting in the default-config.php.

The wp-config-file was created directly from wordpress automatically.

I have checked this thread, my setting for WP_MEMEORY_LIMIT is directly below WP_DEBUG and before ABSPATH is defined.

$table_prefix  = 'hp365_01_';

define('WP_DEBUG', false);
define(‘WP_MEMORY_LIMIT’, ’128M’);

/* That's all, stop editing! Happy blogging. */

Maybe somebody has the same problem ?

1 Answer 1


Your code appears to be using he incorrect quote characters. You have instead of '. This can happen if you copy it from a site where the quotes have been converted to ‘fancy quotes’ by the publishing platform but the author didn’t catch it.

So replace

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


define('WP_MEMORY_LIMIT', '128M');
  • just tested, it works now fine, thanks a lot !! ;)
    – Papejoo
    Feb 9, 2018 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.