Results 1 to 3 of 3

Thread: [How to] Increase memory limit for Word Press

  1. #1
    Alexander's Avatar
    Alexander is offline Technical Analyst
    Join Date
    Jul 2007
    Posts
    1,773

    Default [How to] Increase memory limit for Word Press

    In case your WP installation throws errors like
    Code:
    Fatal error: Allowed memory size of xxxxxxxx bytes exhausted (tried to allocate xxxx bytes)
    it means that your WordPress simply needs more memory. Nowadays our servers have 128M memory_limit set by default. But some scripts with different plugins may need more, thus, the error above may take place. In order to fix it and increase limit to 180M simply add the following line to the wp-config.php file:

    Code:
    define('WP_MEMORY_LIMIT', '180M');
    Please, note, that it will increase memory_limit for WP only. If you would like to increase memory_limit for all scripts inside your account, you need to create custom php.ini file with the code:

    Code:
    memory_limit = 180M
    upload_max_filesize = 180M
    post_max_size = 180M
    After that, make sure that settings in your php.ini are applied for your account globally.
    You can find out how to do it at [How To] Load php.ini recursively for all subfolders

    The links below also may be helpful to you:
    [How To] Create or edit a php.ini file
    [How To] Create or edit the .htaccess file
    Last edited by Alexander; 05-02-2014 at 11:11 AM. Reason: spelling

  2. #2
    rolson34 You Are Posting As A Guest - Please Register or Log In

    Default

    is this the common error or comes only in particular cases?

  3. #3
    Matt's Avatar
    Matt is offline GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    5,932

    Default

    It's so common that we decided to make a knowledge base article about it.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

Similar Threads

  1. 1000meg host memory is less than 5 videos!
    By Triple in forum Pre-Sales Questions
    Replies: 1
    Last Post: 05-18-2009, 11:43 PM
  2. POP Mail Limit
    By QHF in forum General Support
    Replies: 1
    Last Post: 10-29-2007, 11:37 PM
  3. Pop Request Limit?
    By rlhanson in forum General Support
    Replies: 7
    Last Post: 10-18-2007, 10:01 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14