• I Just moved wordpress-site with backupbuddy. Everything looks fine, but I can not get to wordpress admin. There is a error:

    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 115562 bytes) in /home/pt5217/public_html/wp-content/themes/enfold/config-woocommerce/woocommerce-mod-css-dynamic.php on line 104

    How can I raise the memory / correct the situation?

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    Here are three 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 = 128M

    2. If you cannot edit or override the system php.ini file, add php_value memory_limit 128M 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 64 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.

    (in the above examples, the limit is set to 128MB)

Viewing 1 replies (of 1 total)
  • The topic ‘memory problems’ is closed to new replies.