To fix a fatal memory error in PHP when using WordPress on Windows (such as “Allowed memory size exhausted”), you need to increase your PHP memory limit. This issue happens when your website needs more memory than your server or PHP settings allow.
Edit wp-config.php:
- Locate the
wp-config.phpfile in your WordPress root directory (oftenhtdocsorpublic_html). - Add this line just before the line that says
/* That's all, stop editing! Happy blogging. */:
define('WP_MEMORY_LIMIT', '256M');
Save and close the file. This raises the PHP memory limit to 256 megabytes
Change php.ini (if needed):
- Find the
php.inifile in your server or hosting environment (use your hosting control panel or locate it in your XAMPP installation, usually atxampp/php/php.ini). - Open it and look for the line starting with
memory_limit. Change it to:
memory_limit = 256M
php_value memory_limit 256M

4 responses to “Fatal Error: Allowed Memory Size of – Fix Allowed memory size exhausted with WordPress and php”
88win01 is a solid choice for those looking for a reliable online gaming platform. I appreciated the variety of games and the competitive odds. The site’s easy to use and bonuses are pretty generous. Give it a looksee: 88win01
Mxwowmx? I am not sure whats up with the name but their casino game offerings are up there in the charts, and they are super generous too. I like to wow with mxwowmx at mxwowmx.
bjbaji88app, the site is clean and fast, it loads quickly. I am impressed with how easy it use. Time to go down to business with bjbaji88app at bjbaji88app.
Wowlasvegas! Man, I’ve been hearing a lot about this. Thinking about giving it a shot this weekend. Anyone else tried it? Let me know what you think! Definitely checking out wowlasvegas soon.