Wordpress

Wordpress

If you installed a fresh copy of Wordpress or you just upgraded to the latest version of Wordpress 2.9 you may encounter the memory limitation problem with a massage like:

Fatal error: Allowed memory size of 33536532 bytes exhausted (tried to allocate 2587395 bytes) in /home/xxx/public_html/wp-includes/http.php on line 1331

This problem arise due to maximum memory specification amount that can be consumed by PHP, In order to fix such an issue you may apply one the following:

(1)

  • Back up and download the file: wp-settings.php then open it using appropriate php editor (wordpad/notepad will do the job)
  • Search within the file for
       define('WP_MEMORY_LIMIT', '32M');
  • Change 32M to 64M or 96M:
       define('WP_MEMORY_LIMIT', '64M');
  • Upload the newly configured file and replace it with the existing one

Read the rest of this entry »