PHP Fatal error after migration (cache.php) (2 posts)

  1. Ravenatic
    Posted 3 years ago #

    Just migrated my WordPress site to another VPS and now getting

    PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 76 bytes) in /var/www/html/wp-includes/cache.php on line 506

    Any ideas anyone? php.ini and wp-settings are all fine with plenty of space. I'm not sure what else to try!

  2. Ravenatic
    Posted 3 years ago #

    Woah. Ok.
    Ended up having to set define('WP_MEMORY_LIMIT','2048M'); for it to work.

    (php.ini is set to this too).

    Surely thats a bit.. huge?

Topic Closed

This topic has been closed to new replies.

About this Topic