Allowed memory size of X bytes – A fix.
Back on the 27th of June I wrote about a memory error I was seeing in my various WordPress sites. There error was very similar to this “Allowed memory size of 33554432 bytes exhausted”, and I found a fix for this error. I have started to see this error again so did another search and came across the following post in the forums of Bluehost.com. The fix is similar to below but you need to do one more thing if you are hosting your websites with Bluehost.com.
- Login to the Control Panel
- Scroll down to Software / Services and click on PHP Config.
- Choose the 2nd radio button PHP5 (Single php.ini) – Same as PHP5, but all subdirectories will use ~/public_html/php.ini
- Save Changes – Problem solved.
I’ve been seeing memory errors lately on my various WordPress websites and after much investigation found a support topic 194370, which offered a solution that has definitely fixed the problem for my three web sites.
In the root of your website or WordPress site edit the file wp-settings.php and on line 13 change the define(‘WP_MEMORY_LIMIT’, ‘32M‘); to define(‘WP_MEMORY_LIMIT’, ‘64M‘);
This site uses Akismet to reduce spam. Learn how your comment data is processed.
We are Mike and Jo Bowen. Originally from South Africa, we now live & work in the United Kingdom. Mike is the blogger, beer drinker, gadget man, reviewer and Jo is the proofreader, wine drinker, cat lady, sanity checker and “don’t you dare put that on lookatbowen.com“. Together we travel the world and have fun wherever possible. If you are new to this website and want to know more about us, check out the the longer version.
- R.I.P. Tamsin – 2003 – 20192nd May 2019
- Happy 50th birthday Michael Schumacher3rd January 2019
- 2018 brought change and a fun filled crazy year – Happy new year 2019.31st December 2018
- Puzzle Cat’s Paradise captured in GoPro Hero 7 Time Lapse27th December 2018
- My GoPro Hero 7 Christmas day sunrise time lapse.25th December 2018
- Advice (59)
- Animals (18)
- Beer (12)
- Blog (8)
- Bowen (386)
- Brands (189)
- Drone (5)
- Humour (108)
- IoT (2)
- Home Automation (2)
- Music (64)
- NYE (7)
- People (68)
- Reaction (53)
- Shares (6)
- Sport (100)
- Technology (66)
- Video (93)
- World (104)