Please assign a menu to the primary menu location under MENU

InternetTips / Guides

WordPress Fatal Error – Allowed memory size of x bytes exhausted

If you frequently see this error on WordPress and you’re getting fed up, it’s time to do something about it.
If you’re using cPanel, here’s how you solve the problem.

Generating a new php.ini

Click the PHP Config icon under the Software/Services category.
Under Install Default php.ini, check IonCube and SourceGuardian (required by many commercial PHP scripts)
Click the INSTALL PHP.INI MASTER FILE button in the same category
Now we have to rename php.ini.default to php.ini – Under cPanel’s Files category, choose File Manager.
You should get a pop-up titled File manager directory selection
Select Web Root (public_html/www) and Show Hidden Files (dotfiles) and then click Go.
This is the chance to backup your old php.ini if you have one
Right-click on the new php.ini.default and click rename.
Edit the name to php.ini and click Rename.
You now have a new php.ini

Editing your php.ini

To edit your php.ini, you right click it and choose Edit.
You will be able to edit key/value pairs. To increase the memory limits, etc., do the following:

Change memory_limit from 2M to something like 50M
Change register_globals to On
Change the maximum size for uploading. This one has two keys – post_max_size and upload_max_filesize.
To enable PDO, add the following lines:
extension=pdo_mysql.so
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so

Finishing off

The system will take upto 15 minutes to recognise the changes in your php.ini, so be patient.
Also, php.ini is directory specific. So unless you’ve turned on the PHP5 (Single php.ini) or PHP5 (FastCGI), you’ll have to copy php.ini into all the subfolders in your public_html directory.

There could be many subdirectories you’ll have to copy it into, so watch your step.

Now your wordpress should upgrade without complaining!

651 Comments

  1. 990717 539700i just didnt need a kindle at first, but when receiving 1 for christmas im utterly converted. It supply genuine advantages more than a book, and makes it such a good deal additional convenient. i may undoubtedly advocate this item: 704927

  2. 918914 652383There couple of fascinating points at some point in this posting but I dont determine if these folks center to heart. There is some validity but Let me take hold opinion until I check into it further. Wonderful write-up , thanks and then we want far more! Combined with FeedBurner in addition 429687

  3. 702159 838063Its always great to learn guidelines like you share for blog posting. As I just started posting comments for blog and facing difficulty of lots of rejections. I feel your suggestion would be beneficial for me. I will let you know if its work for me too. 682475

  4. I’ll immediately grab your rss feed as I can not in finding your e-mail subscription hyperlink or e-newsletter service. Do you’ve any? Kindly permit me recognize in order that I may just subscribe. Thanks.

  5. I enjoy what you fellows are now up to. This type of clever work and exposure! Carry on the fantastic effort guys, I’ve incorporated you to my personal inspirational quotes site.

  6. You’re absolutely right and I agree with you. If you want, we might also chat around wireless gaming headset, one thing that intrigues me. Your website is certainly fantastic, take care!

  7. Hi can you tell me which blog platform you are working with? I’m seeking to begin my personal blog on router settings soon though I’m having a hard time choosing.

  8. Spot on with this write-up, I genuinely assume this site wants way a lot more consideration. IaаАа’б‚Т€ТšаЂаŒаАа’б‚Т€ТžаБТžll probably be once far more to read far much more, thanks for that info.

  9. This particular blog is obviously awesome and also factual. I have picked a bunch of helpful tips out of it. I ad love to go back again and again. Thanks a lot!

  10. 129652 772801The the next time I just read a blog, I genuinely hope that this doesnt disappoint me approximately brussels. Get real, Yes, it was my option to read, but I genuinely thought youd have some thing intriguing to say. All I hear is normally a couple of whining about something that you could fix when you werent too busy searching for attention. 832214

  11. Very nice post. I just stumbled upon your blog and wanted to say that I have really enjoyed browsing your blog posts. In any case I will be subscribing to your feed and I hope you write again soon!

  12. Keep in the excellent work, I examine few blogs on this site and My spouse and i conceive that your particular web site is basically interesting and has lots associated with excellent details.

  13. Very interesting information!Perfect just what I was looking for! Fear not that thy life shall come to an end, but rather fear that it shall never have a beginning. by John Henry Cardinal Newman.

  14. Wow, superb weblog structure! How long have you ever been running a blog for? you made blogging look easy. The entire look of your website is wonderful, let alone the content material!

  15. I will immediately grasp your rss as I can not find your email subscription hyperlink or newsletter service. Do you ave any? Kindly allow me realize in order that I may just subscribe. Thanks.

  16. That is a really very good go through for me, Should admit that you just are one particular of the best bloggers I ever saw.Thanks for posting this informative write-up.

  17. This unique blog is really educating and also diverting. I have chosen many handy advices out of this amazing blog. I ad love to go back again and again. Cheers!

  18. Your style is really unique compared to other people I ave read stuff from. Thanks for posting when you have the opportunity, Guess I all just bookmark this blog.

  19. I?аАТ’аЂа†ll right away grab your rss as I can not to find your e-mail subscription link or e-newsletter service. Do you ave any? Please let me recognise in order that I may subscribe. Thanks.

  20. Very nice info and straight to the point. I don at know if this is actually the best place to ask but do you folks have any ideea where to employ some professional writers? Thanks in advance

  21. I’а†ll right away grasp your rss feed as I can not to find your email subscription link or newsletter service. Do you have any? Kindly permit me recognize so that I may subscribe. Thanks.

  22. I will right away grasp your rss feed as I can at in finding your email subscription hyperlink or newsletter service. Do you have any? Kindly permit me recognize in order that I may subscribe. Thanks.

  23. Wow, amazing blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is wonderful, let alone the content!

  24. Wow! This can be one particular of the most useful blogs We ave ever arrive across on this subject. Basically Fantastic. I am also a specialist in this topic therefore I can understand your effort.

  25. This particular blog is really educating and besides informative. I have picked up a lot of interesting tips out of this source. I ad love to visit it every once in a while. Cheers!

  26. This is very interesting, You are a very skilled blogger. I ave joined your rss feed and look forward to seeking more of your fantastic post. Also, I have shared your website in my social networks!

  27. Thank you for another excellent post. Where else could anybody get that kind of info in such a perfect way of writing? I have a presentation next week, and I am on the look for such info.

  28. Im no expert, but I imagine you just crafted an excellent point. You certainly understand what youre talking about, and I can really get behind that. Thanks for staying so upfront and so truthful.

  29. Normally I do not learn article on blogs, but I would like to say that this write-up very compelled me to check out and do so! Your writing taste has been surprised me. Thank you, very nice post.

  30. Thank you for the auspicious writeup. It in fact used to be a enjoyment account it. Glance advanced to far delivered agreeable from you! However, how can we communicate?

  31. I will right away grasp your rss as I can not find your email subscription hyperlink or e-newsletter service. Do you have any? Please allow me recognize so that I may subscribe. Thanks.

  32. I saw plenty of website but I conceive this one contains a thing special in it. The finest effect regarding fine people is experienced after we ave got left their presence. by Rob Waldo Emerson.

  33. you know a few of the pictures aren at loading correctly. I am not sure why but I think its a linking issue. I ave tried it in two different browsers and both show the same outcome.

  34. Wow, marvelous blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your site is wonderful, as well as the content!. Thanks For Your article about sex.

  35. I just want to tell you that I am just new to blogs and truly savored you’re page. More than likely I’m likely to bookmark your blog . You amazingly have very good posts. With thanks for sharing your web site.

  36. This particular blog is really entertaining and besides informative. I have picked up helluva helpful things out of it. I ad love to return over and over again. Thanks a lot!

  37. Hey very cool web site!! Man .. Excellent .. Wonderful .. I will bookmark your site and take the feeds also…I am happy to find so many useful info here in the put up, we’d like work out more techniques in this regard, thanks for sharing.

  38. I got what you mean , appreciate it for putting up.Woh I am pleased to find this website through google. “Success is dependent on effort.” by Sophocles.

  39. Thank you, I’ve recently been looking for information about this topic for ages and yours is the greatest I’ve found out till now. However, what concerning the bottom line? Are you sure concerning the supply?

  40. I just couldn’t depart your site prior to suggesting that I really loved the usual information a person supply in your visitors? Is going to be back continuously to inspect new posts.

  41. Great – I should certainly pronounce, impressed with your web site. I had no trouble navigating through all tabs and related information ended up being truly easy to do to access. I recently found what I hoped for before you know it in the least. Quite unusual. Is likely to appreciate it for those who add forums or something, website theme . a tones way for your client to communicate. Nice task.

  42. Simply wish to say your article is as astounding. The clarity in your post is simply spectacular and i can assume you are an expert on this subject. Fine with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please keep up the rewarding work.

  43. You actually make it seem so easy with your presentation but I find this matter to be really something that I think I would never understand. It seems too complex and extremely broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  44. Thanks a bunch for sharing this with all folks you really recognize what you’re talking approximately! Bookmarked. Kindly also consult with my website =). We will have a hyperlink alternate arrangement among us!

  45. Simply want to say your article is as amazing. The clearness in your post is simply nice and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep updated with forthcoming post. Thanks a million and please carry on the rewarding work.

  46. I have been browsing online more than three hours today, but I by no means discovered any fascinating article like yours. It¡¦s pretty worth enough for me. Personally, if all web owners and bloggers made just right content material as you probably did, the internet will probably be much more useful than ever before.

  47. I was recommended this web site by my cousin. I am not sure whether this post is written by him as nobody else know such detailed about my problem. You are incredible! Thanks!

  48. I¡¦ve been exploring for a little bit for any high quality articles or blog posts in this sort of space . Exploring in Yahoo I finally stumbled upon this web site. Studying this info So i am happy to exhibit that I’ve a very excellent uncanny feeling I found out just what I needed. I most indisputably will make certain to do not overlook this web site and provides it a look on a constant basis.

  49. I precisely wished to thank you very much all over again. I do not know the things I might have tried in the absence of those tips shared by you on such a industry. It seemed to be a real difficult issue in my circumstances, nevertheless looking at this specialised way you treated it took me to cry for contentment. I will be thankful for your help and in addition have high hopes you are aware of a great job that you’re accomplishing training some other people all through your web blog. Most likely you have never come across all of us.

  50. Hello there, I found your blog by means of Google at the same time as searching for a comparable topic, your web site got here up, it appears good. I’ve bookmarked it in my google bookmarks.

  51. I conceive this web site has some really superb information for everyone :D. “Nothing great was ever achieved without enthusiasm.” by Ralph Waldo Emerson.

  52. You actually make it seem so easy with your presentation but I find this topic to be actually something which I think I would never understand. It seems too complicated and very broad for me. I am looking forward for your next post, I will try to get the hang of it!

  53. Thank you for the sensible critique. Me & my neighbor were just preparing to do a little research on this. We got a grab a book from our area library but I think I learned more from this post. I am very glad to see such excellent info being shared freely out there.

  54. I am not sure where you are getting your information, but good topic. I needs to spend some time learning more or understanding more. Thanks for magnificent info I was looking for this info for my mission.

  55. Fantastic goods from you, man. I’ve understand your stuff previous to and you are just too fantastic. I actually like what you have acquired here, certainly like what you’re saying and the way in which you say it. You make it enjoyable and you still take care of to keep it wise. I can not wait to read much more from you. This is really a wonderful website.

  56. Simply want to say your article is as astonishing. The clarity in your post is simply excellent and i could assume you are an expert on this subject. Well with your permission let me to grab your RSS feed to keep up to date with forthcoming post. Thanks a million and please keep up the rewarding work.

  57. Great info and right to the point. I am not sure if this is really the best place to ask but do you people have any ideea where to employ some professional writers? Thanks in advance 🙂

  58. I’m not sure where you are getting your info, but good topic. I needs to spend some time learning more or understanding more. Thanks for great information I was looking for this information for my mission.

  59. Hello, Neat post. There is an issue along with your web site in web explorer, may test this¡K IE nonetheless is the market leader and a big section of other folks will omit your fantastic writing because of this problem.

  60. I will right away take hold of your rss as I can not in finding your email subscription hyperlink or e-newsletter service. Do you have any? Kindly let me recognise so that I may subscribe. Thanks.

  61. I¡¦ll right away take hold of your rss as I can’t to find your email subscription hyperlink or e-newsletter service. Do you’ve any? Kindly allow me understand so that I may subscribe. Thanks.

  62. I just couldn’t go away your site prior to suggesting that I actually enjoyed the usual information an individual provide in your visitors? Is gonna be again incessantly in order to inspect new posts

  63. I am now not positive the place you’re getting your information, however good topic. I needs to spend a while learning much more or figuring out more. Thank you for wonderful info I was in search of this information for my mission.

  64. I am extremely impressed with your writing skills and also with the layout on your weblog. Is this a paid theme or did you customize it yourself? Either way keep up the nice quality writing, it is rare to see a great blog like this one today..

  65. I have to express my thanks to this writer just for bailing me out of this situation. Right after browsing through the search engines and getting opinions which were not helpful, I figured my life was done. Being alive without the presence of answers to the difficulties you have fixed as a result of the short post is a crucial case, as well as those that could have in a wrong way affected my entire career if I hadn’t noticed your website. Your good expertise and kindness in touching every aspect was very useful. I don’t know what I would’ve done if I had not discovered such a thing like this. It’s possible to at this moment look forward to my future. Thanks very much for your high quality and result oriented help. I won’t be reluctant to endorse the blog to anybody who should receive support about this subject matter.

  66. Its like you read my mind! You appear to know a lot about this, like you wrote the book in it or something. I think that you can do with some pics to drive the message home a bit, but other than that, this is magnificent blog. An excellent read. I’ll certainly be back.