WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Increasing memory didn't help (4 posts)

  1. artcoder
    Member
    Posted 3 years ago #

    I added ...
    define('WP_MEMORY_LIMIT', '64M');
    to wp-config.php

    But I'm still getting errors like these in the wp-admin...
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 368640 bytes) in /var/www/vhosts/stanfield.com/httpdocs/wp-includes/class-simplepie.php on line 4186

  2. There are more ways to increase PHP's memory allocation, and not every method works on every server. Here are three more ways to increase PHP's memory allocation:

    1. If you can edit or override the system php.ini file, increase the memory limit. For example, memory_limit = 256M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 256M to your .htaccess file.

    3. If neither of these work, it's time to ask your hosting provider to temporarily increase PHP's memory allocation on your account. Keep in mind that most decent hosting providers allocate 32 MB to PHP under each account, and most decent hosting providers allow users to temporarily increase the memory allocation. If your hosting provider won't accommodate you, perhaps it's time to find a new hosting provider.

  3. artcoder
    Member
    Posted 3 years ago #

    Thanks, I will talk to my host.

  4. You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.