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.
This entry was posted on Tuesday, November 2nd, 2010 at 8:17 am and is filed under Resources, Tips. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
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!
Thanks Jon. A concise post that did the job.
lol.. another solution would be to switch to a good hosting company that doesnt dump your site on some server in germany!
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?