New Dirt

Jerry, just remember, it's not a lie if you believe it!

  • Blog
  • Forums
  • Register
  • About

Problem Solved: WordPress Fatal error Out of memory allocated (1and1)

September 15, 2011 By newdirt.org 15 Comments

After some weeks of being unable to upgrade one of my WordPress blogs using the automatic update, I was finally able to find a solution. If you are trying to upgrade to WordPress 3.2.1, using the automatic update and 1and1 is hosting your blog, then you should try the following (make sure you have tried doing the update after disabling all your plugins first):

1. Open your text editor and copy the following code:

memory_limit=40M

2. Save your file as: php.ini

3. Upload (FTP) to: the root directory of your blog (exactly where your wordpress blog lives)

4. Upload (FTP) again to: wp-admin (for example: wp-admin/php.ini)

5. You’re done! Try the automatic upgrade again and hopefully it will work this time.

There is a simpler method to try to get this working but it DID NOT work for me, but apparently worked for others:

1. Add this to your wp-config.php file:

define ('WP_MEMORY_LIMIT', '256M' );

2. Try the automatic upgrade again

Filed Under: Wordpress Tagged With: wordpress

Comments

  1. dianesawyer says

    March 10, 2023 at 6:22 am

    What is this? I don’t understand to this

    Reply
  2. Silvia Calavera says

    December 29, 2014 at 5:05 am

    THANKS for your post!!!!! You really, really help me!

    Reply
  3. andrew says

    August 26, 2012 at 1:38 am

    Well, I can’t tell so much if it worked or not (adding a php.ini in both directories) because it dropped the upload max from 8MB down to 2MB and none of my images are smaller than 2MB.

    Previously, without the php.ini files, I could get small images to upload and work properly.

    Reply
  4. mloddf says

    August 17, 2012 at 6:24 pm

    Thanks for your posting. This was a kind of similar to other solutions I found. But all of them, also your post, didn’t work for me. I also changed the wp-config.php.
    I took over the administration of a WP 2.9.1 and tried to update to 3.4.1. So I think I have to update manually.
    Maybe the 1and1-hosting packet is too old and does not allow extending the memory.

    Reply
  5. Vee says

    August 17, 2012 at 12:57 am

    SUPER FREAKING COOL! You’re awesome! Thanks!

    Reply
  6. Eric at A Lego a Day says

    August 8, 2012 at 4:20 pm

    Yes! You da man! This has been driving me crazy for days. Thanks for posting!

    Reply
  7. Andy C. says

    June 5, 2012 at 5:53 pm

    Thanks! That’s been giving me fits for weeks.

    Reply
  8. TallerBit says

    May 23, 2012 at 12:52 am

    after trying various solutions and googling for several hours, finally the solution I was very useful to solve the damn error “Fatal Error Out of Memory” in WordPress.
    Thanks a lot !

    Reply
  9. JC says

    May 15, 2012 at 8:45 am

    It didn’t worked for me

    Reply
  10. karthik says

    February 13, 2012 at 1:29 pm

    worked like charm thanks a lot. 🙂

    Reply
  11. enrique says

    November 13, 2011 at 5:54 pm

    THANNNNNNNNNNNNNNNNNK YOUUUUUUUUUUUUUUUUUUUUUUUUUU
    very much.

    the wp update finally worked

    The visual option of the editor, doesnt work, can you help me ?

    best regards

    ENRIQUE

    Reply
  12. Autopedia says

    November 7, 2011 at 8:05 pm

    Thanks a lot !
    I was unable to upload image and had all the time the “Fatal error: Out of memory” before doing your tip.
    I’m on 1and1 and problem appeared after installing simple-press plugin.
    Now everything works fine 🙂

    Reply
  13. Bud says

    October 28, 2011 at 12:05 am

    I’m on 1and1.com and after about 10 different tries, this is what worked for me – having the php.ini file in both places. Thanks!!!!

    Reply
  14. Ricky @ Be Slim Down says

    October 15, 2011 at 9:36 am

    I was trying to install wordpress 3.2, but getting the this Fatal error. I used the above given method of php.ini file helped me in getting rid of this error. Now my blog is working fine.
    Thanks a lot for this tutorial.

    Reply
  15. Diane Bourque says

    September 24, 2011 at 10:09 am

    1 + 2 + 3 worked for me!
    Thanks so much.
    Diane

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

LOGIN OR REGISTER – FORUMS

Log In
Register Lost Password
  • POST NEW FORUM TOPIC
  • Latest Forum Discussions

    • Corporate Events
    • Which painting is best for wall?
    • crypto-gambling
    • Đăng Ký Bong88
    • 10 Skin Care Home Remedies for Healthy & Glowing Skin

    Most Recent Articles

    • 4 lines for $100: Why I Switched to Cricket Wireless (Developing Story)
    • Switch Your iPhone from AT&T to Straight Talk in 4 Simple Steps
    • The Best Secured Credit Cards
    • First Savings Account for Kids
    • Phones for Kids Under $200

    Other Pages

    • Wordpress Themes
    • Wordpress Hosting
    • Online Education Resources

    [footer_backtotop]

    Copyright © 2023 New Dirt | Credit Forums