How to solve WordPress php problem – Fatal error: Allowed memory size

How to solve WordPress php problem – Fatal error: Allowed memory size of….A lot of programmers will tel you that you must change php.ini file. But the most of time wordpress owners has shared hosting and they cannot change php.ini alone. So what to do ? How to change memory limit ?

Solution : Edit wp-settings.php file and change memory limit from  ’32M’ to’ 64M’ !

WordPress sets its memory limits within the wp-settings.php file. All that has to be done is change the memory limit from “32M” to “64M”.

WP_MEMORY_LIMIT 32M

Here are the step by step instructions:

  • Open wp-settings.php in your favorite code editor. This file is in the root directory of your WordPress installation
  • Go to line #13 of wp-settings.php and locate ‘32M’
  • Change the “32? to “64?
  • Save the file and FTP it to your server

WP_MEMORY_LIMIT 64M




Related Posts

  1. How to Fix WordPress Missed schedule Error ?
  2. How to solve “An invalid character was found in text content” – wordpress solution for bad rss
  3. Tips to keep the memory in your life and at office
  4. How to remove index.php from WordPress or WPMU permalink ?
  5. How to add author info in article footer – WordPress code for author biography
  6. How to find solution for WPMU problem – There doesn’t seem to be a wp-config.php file
  7. How to install wordpress at shared hosting using Cpanel
  8. WPMU DEV SEO WordPress Plugin – full review and download
  9. How to fix in WordPress – Briefly unavailable for scheduled maintenance. Check back in a minute.
  10. How to install wordpress in localhost under Windows XP or Vista using Xampp – text and video tutorial
  11. Batch Create WordPress plugin
  12. WordPress Multisite and Google Analytics WordPress plugin
  13. Methods how to install wordpress under Windows XP – Xampp tutorial

Speak Your Mind

*


*