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.
- Short Lunch time walkOn 15th January 2020 1:32 pm went 1.64 mi. during 00:25:26 hours climbing 53.15 ft.
- Limpsfield Chart long walkOn 12th January 2020 10:01 am went 10.97 mi. during 05:16:30 hours climbing 1,059.38 ft.
- Lunch time walk around the London I don't knowOn 10th January 2020 2:14 pm went 3.21 mi. during 00:56:31 hours climbing 45.60 ft.
- Tower Bridge lunchtime walkOn 9th January 2020 1:17 pm went 2.41 mi. during 00:35:24 hours climbing 96.78 ft.
- Lunch time walk around the square mileOn 8th January 2020 2:21 pm went 2.36 mi. during 00:35:00 hours climbing 54.13 ft.
- Advice (59)
- Animals (18)
- Beer (12)
- Blog (8)
- Bowen (393)
- Brands (190)
- Drone (5)
- Humour (108)
- IoT (3)
- Home Automation (3)
- Music (64)
- NYE (8)
- People (68)
- Reaction (53)
- Shares (6)
- Sport (100)
- Technology (67)
- Video (94)
- World (105)