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”.
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