• Beth December 22, 2017
    fatal error

    This article will help you to understand How to fix Fatal Error out of Memory WordPress?

    Fatal Error out of Memory WordPress is saying that your website configuration requires more PHP memory than is being allowed for some reasons. This only means that you need to increase memory being allotted to avoid this kind of error.

    How to fix Fatal Error out of Memory WordPress?

    1. You might find some redundant php.ini files so try looking for the php.ini file. Make sure you have the one which is actually being read by PHP. Just to make sure, create a new php file in your root folder, say “check.php” and have phpInfo(); within the php open and close tags. Execute this file to get the information on where the php.ini is residing. Normally it will be in /usr/local/lib/php.ini

    Open the php.ini file in a text editor like TextPad (not in Notepad) and change the values for memory_limit. By default you should see memory_limit = 8M. Try changing it to 12M. If it doesn’t work, increase it to 16M or even 24M and so forth.

    2. If you can’t find the php.ini file or can’t access to it, then open up the file which was throwing the error and add a line below just after ini_set(’memory_limit’, ‘12M’);

    3. You can even consider adding a line in .htaccess file which will resolve the issue.

    php_value memory_limit 32M

    4. Or else, Try adding this line to your wp-config.php file:

    Increasing memory allocated to PHP

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

    Difficulty Level {Easy, Medium, High}

    Easy

    Total Time Consumed

    15 Minutes

    Related Plugins or WorkAround

    No
    Summary
    How to Fix fatal error out of memory wordpress ?
    Article Name
    How to Fix fatal error out of memory wordpress ?
    Description
    Fatal Error out of Memory WordPress is saying that your website configuration requires more PHP memory than is being allowed for some reasons.
    Author
    Publisher Name
    WordPress Support LLC
    Publisher Logo

    Leave a comment.

    Your email address will not be published. Required fields are marked*

    error: Content is protected !!