• Resolved edengp250

    (@edengp250)


    i Upgraded my php to version 5.3.17 on my server 2 days ago and since then I get Fatal error: Out of memory when going to my wordpress admin.
    All of my non wordpress sites are not affected.
    So far i have:
    added the line define(‘WP_MEMORY_LIMIT’, ‘256M’); to config.php

    edited default_constants.php to increase WP memory limits.

    got my hoast to scan all of my files for anything that would be preventing WP from using memory, they found nothing after an 18 hour scan.

    increased memory limit in php.ini to 512mb.

    My host has checked my php configuration and confirmed that all is set correctly and that memory limits on the server are set high enough, (512MB)

    My host has spent the best part of 2 days trying to find a problem with my server and have found nothing.

    I have the exact same problem on 7 sites with wordpress installations.
    The reason I updated my servers PHP version was because while trying to update my wordpress sites to the latest version using the auto update in the admin i kept getting memory error.
    I have now manually updated all the wordpress sites and have even installed a fresh new install which also has the same problem.

    they have now referred me to wordpress to find a solution so here I am!

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter edengp250

    (@edengp250)

    been busy, but i’m looking at it tonight.

    Thread Starter edengp250

    (@edengp250)

    I disabled all PHP extensions then restarted Apache, still the same memory errors in wordpress.

    i have then recompiled and still have the same memory errors!

    is anyone here who has replied in this topic using php version 5.3.17 ?

    Tish

    (@tish_the_dish)

    Mine is finally working correctly. I contacted my hosting provider (Godaddy), and here is the response:

    We understand you are seeing memory limit errors when attempting to load WordPress on your server via cPanel. In reviewing online, we were able to find some relevant articles on this issue, specifically:

    https://forums.cpanel.net/f5/fatal-error-out-memory-202111.html

    As a courtesy, we backed up your php.ini and httpd.conf files and made the changes suggested to the php.ini memory limit and the httpd.conf’s RLimitMEM setting. We restarted Apache and you should now be able to load WordPress without seeing this issue.

    Truly, I’d tried all of these myself over the last several days, but I guess something finally clicked. Anyway, I know there are a lot of posts on this, so perhaps the link Godaddy used is the most authoritative on the subject. ? Who the heck knows.

    Tish

    (@tish_the_dish)

    My “server version” of PHP is 5.5.27 (in PHPMyAdmin). Is that what you’re asking? Not sure where to find this info.

    Thread Starter edengp250

    (@edengp250)

    very interesting, this kinds worked, im still getting memory errors in the wordpress dashboard home page under “incoming links” “plugins” and “development blog” but i can now activate all my plugins and use the dashboard auto update.
    i can live with out the dashboard home page items.

    thanks Tish ??

    I did want to mention that memory_limit in the /usr/local/lib/php.ini is not the only location where you might exceed the memory limit. If you have RLimitMEM in /usr/local/apache/conf/httpd.conf set, it might cause the same issue. You can search to see if that’s in the file:

    grep -i rlimit /usr/local/apache/conf/httpd.conf

    If it is in the file, try commenting it out (using # in front of RLimitMEM line), then restart Apache to see if the site begins working.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Fatal error: Out of memory’ is closed to new replies.