Changes between Version 4 and Version 5 of PHPMemory


Ignore:
Timestamp:
Dec 13, 2008, 11:36:27 AM (10 years ago)
Author:
omry
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PHPMemory

    v4 v5  
    1010 * if you enabled PHP logging, the memory errors will also appear in the log (usually the apache error log).
    1111
    12 The default PHP memory limit is 8mb, I recommend that you increase it to 16mb or more (depending on the number of plugins you have).[[BR]]
     12The default PHP memory limit is 8mb, I recommend that you increase it to 32mb or more (depending on the number of plugins you have).[[BR]]
    1313There are several ways to do it:
    1414
    1515=== php.ini ===
    16 The recommended way is to set '''memory_limit = 16M''' in your '''php.ini''' file.
     16The recommended way is to set '''memory_limit = 32M''' in your '''php.ini''' file.
    1717For me the file is located at '''/etc/php4/apache2/php.ini''', but your location may change depending on your server configuration and installed software.
    1818
    1919=== .htaccess in WordPress ===
    20 You can add '''php_value memory_limit 16M''' to your '''.htaccess''' file in the !WordPress root. (this may not work, depending on your server configuration).
     20You can add '''php_value memory_limit 32M''' to your '''.htaccess''' file in the !WordPress root. (this may not work, depending on your server configuration).
    2121
    2222=== Your local friendly system administrator ===