1and1 memory_limit issues

Hosting company 1and1 provide very little memory to run your PHP scripts which can cause issues such as WordPress plugins failing to unpack or install.

A simple solution is to create a custom php.ini file in the directory of your script, with the following text:

memory=20MB

This should allocate enough memory to your scripts to allow them to run.

In the case of WordPress plugins, this script should be placed in in the /wp-admin/ directory.

There has been 4 responses to “1and1 memory_limit issues”

  1. Hi Jon,
    That is a great tip! I have been struggling with plugins on my website http://www.sportstechreview.com/ for a while now but now after reading this, I have solved the issues.

    Great blog and articles – keep up the good work!

  2. Dave says:

    Thanks Jon. A concise post that did the job.

  3. Edward Lewis says:

    lol.. another solution would be to switch to a good hosting company that doesnt dump your site on some server in germany!

  4. admin says:

    Thanks Ed! Although if you are referring to the issue I had, that was Servage.

    Servage had good support and product was very good, however it got weird when my username and password started to occasionally log me into other people’s domain accounts. I left them in about 2008 though, maybe that issue has been fixed now?

Leave a Reply