<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress, PHP Memory, and 1and1.com</title>
	<atom:link href="http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/feed" rel="self" type="application/rss+xml" />
	<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com</link>
	<description>Curtis M. Humphrey's Website</description>
	<lastBuildDate>Mon, 19 Sep 2011 19:56:45 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Bill Petro</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-1890</link>
		<dc:creator>Bill Petro</dc:creator>
		<pubDate>Mon, 19 Sep 2011 19:56:45 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-1890</guid>
		<description>I&#039;m getting this &quot;out of memory&quot; error on 1and1.com consistently in WP 3.2.1 when I use the JetPack plugin, and it goes away when I disable it. I&#039;ve tried the php.ini trick of setting memory to 40M, and the .htaccess trick of:

Options All -Indexes
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php


Alas, no joy.</description>
		<content:encoded><![CDATA[<p>I&#8217;m getting this &#8220;out of memory&#8221; error on 1and1.com consistently in WP 3.2.1 when I use the JetPack plugin, and it goes away when I disable it. I&#8217;ve tried the php.ini trick of setting memory to 40M, and the .htaccess trick of:</p>
<p>Options All -Indexes<br />
AddType x-mapp-php5 .php<br />
AddHandler x-mapp-php5 .php</p>
<p>Alas, no joy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PNaw10</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-1870</link>
		<dc:creator>PNaw10</dc:creator>
		<pubDate>Wed, 07 Sep 2011 03:15:33 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-1870</guid>
		<description>Please disregard my previous comment; I just now was re-reading and noticed you had a &quot;part 2&quot; update already posted since this article went up.</description>
		<content:encoded><![CDATA[<p>Please disregard my previous comment; I just now was re-reading and noticed you had a &#8220;part 2&#8243; update already posted since this article went up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PNaw10</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-1868</link>
		<dc:creator>PNaw10</dc:creator>
		<pubDate>Wed, 07 Sep 2011 03:03:03 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-1868</guid>
		<description>First up, Curtis, the quote you had near the top of this post is now on a new URL.
http://faq.1and1.com/scripting_languages_supported/php/13.html
(before it was ../16.html)

Second, I&#039;ve never had problems with this until WordPress 3.2.1 came out.  I&#039;m running three sites out of the same account (each site has its own domain name).  Two of the sites upgraded without incident.  The third site, which is hands-down the &quot;biggest&quot; site, keeps getting &quot;fatal error: out of memory&quot; whenever I try to use the automatic upgrade, so I&#039;m still using 3.1.4.

Honestly, I hated the manual FTP upgrade from the older versions and I refuse to go back to doing things that way.  There&#039;s been no problem with 3.1.4 other than the annoying reminder at the top of the admin screens, which won&#039;t go away until I finally do upgrade.  But that&#039;s neither here nor there.

More recently, I&#039;ve noticed problems with uploading images -- a seemingly routine task that should never be a problem.  Same &quot;fatal error&quot; about being out of memory.  Sometimes, I even hit the limit just trying to view Site Stats (with Jetpack).

I&#039;ll try to see if manually setting the limit to 30M does any good, but I&#039;m guessing it won&#039;t... so I&#039;m just asking to see if any other 1and1 users out there decided to pull the trigger and become &lt;b&gt;former&lt;/b&gt; 1and1 users.  If so, where did you take your business?  How satisfied have you been?  How does the pricing compare?</description>
		<content:encoded><![CDATA[<p>First up, Curtis, the quote you had near the top of this post is now on a new URL.<br />
<a href="http://faq.1and1.com/scripting_languages_supported/php/13.html" rel="nofollow">http://faq.1and1.com/scripting_languages_supported/php/13.html</a><br />
(before it was ../16.html)</p>
<p>Second, I&#8217;ve never had problems with this until WordPress 3.2.1 came out.  I&#8217;m running three sites out of the same account (each site has its own domain name).  Two of the sites upgraded without incident.  The third site, which is hands-down the &#8220;biggest&#8221; site, keeps getting &#8220;fatal error: out of memory&#8221; whenever I try to use the automatic upgrade, so I&#8217;m still using 3.1.4.</p>
<p>Honestly, I hated the manual FTP upgrade from the older versions and I refuse to go back to doing things that way.  There&#8217;s been no problem with 3.1.4 other than the annoying reminder at the top of the admin screens, which won&#8217;t go away until I finally do upgrade.  But that&#8217;s neither here nor there.</p>
<p>More recently, I&#8217;ve noticed problems with uploading images &#8212; a seemingly routine task that should never be a problem.  Same &#8220;fatal error&#8221; about being out of memory.  Sometimes, I even hit the limit just trying to view Site Stats (with Jetpack).</p>
<p>I&#8217;ll try to see if manually setting the limit to 30M does any good, but I&#8217;m guessing it won&#8217;t&#8230; so I&#8217;m just asking to see if any other 1and1 users out there decided to pull the trigger and become <b>former</b> 1and1 users.  If so, where did you take your business?  How satisfied have you been?  How does the pricing compare?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whall</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-125</link>
		<dc:creator>whall</dc:creator>
		<pubDate>Sun, 27 Mar 2011 16:36:56 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-125</guid>
		<description>I thought I&#039;d put in another tip for people using PHP on 1and1 servers - I started running into Internal Server Error 500 issues again, and was googling around for some more tips.  

I had neglected to share this one on my previous comment -- on many of 1and1 servers (the shared ones), the default parser for .php files is PHP 4, *NOT* PHP 5.  This caused me no end of headaches, because none of my sites needed PHP4, but rather several of my sites (Wordpress 3.x, Drupal 6, Joomla 1.5) either didn&#039;t work at all with PHP4 or would have crazy weirdness.

So, to fix that. you should put the following in your .htaccess file.  You can either put in in your root (htdocs) folder or in any subfolder that contains .php files that you want to be processed as php5 instead of php4


(uiserver):account-num:~ &gt; cat .htaccess
# Begin tips I saw on Internet about 1and1 and wordpress export/xml and upgrades
Options All -Indexes
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

I still can&#039;t figure out a straight answer on 1and1 and actual PHP limits.  What I see from phpinfo() is that PHP4 has a memory_limit of 8M and PHP5 has a memory_limit of 128M.  I&#039;ve tried setting php.ini settings of


(uiserver):account-num:~ &gt; cat php.ini
memory=16MB

and changing that memory from 20, 30, 32, 48, 64, etc... with varying non-conclusive results.  Some posts say 1and1 limits to 20m, some say 40m, and 1and1&#039;s own FAQ says 30M on one post and 10M on another.

http://faq.1and1.com/scripting_languages_supported/php/13.html says 10M
http://faq.1and1.com/scripting_languages_supported/php/12.html says 30M

http://faq.1and1.com/scripting_languages_supported/php/6.html says the defaults for php5 (through another link) are 40M, but my server says 128M.

I&#039;ll be opening a ticket with them to find out the real deal... I need to stop my server 500 errors, or at least find the culprit or major reason so I can change some other settings to mitigate the problems.</description>
		<content:encoded><![CDATA[<p>I thought I&#8217;d put in another tip for people using PHP on 1and1 servers &#8211; I started running into Internal Server Error 500 issues again, and was googling around for some more tips.  </p>
<p>I had neglected to share this one on my previous comment &#8212; on many of 1and1 servers (the shared ones), the default parser for .php files is PHP 4, *NOT* PHP 5.  This caused me no end of headaches, because none of my sites needed PHP4, but rather several of my sites (WordPress 3.x, Drupal 6, Joomla 1.5) either didn&#8217;t work at all with PHP4 or would have crazy weirdness.</p>
<p>So, to fix that. you should put the following in your .htaccess file.  You can either put in in your root (htdocs) folder or in any subfolder that contains .php files that you want to be processed as php5 instead of php4</p>
<p>(uiserver):account-num:~ &gt; cat .htaccess<br />
# Begin tips I saw on Internet about 1and1 and wordpress export/xml and upgrades<br />
Options All -Indexes<br />
AddType x-mapp-php5 .php<br />
AddHandler x-mapp-php5 .php</p>
<p>I still can&#8217;t figure out a straight answer on 1and1 and actual PHP limits.  What I see from phpinfo() is that PHP4 has a memory_limit of 8M and PHP5 has a memory_limit of 128M.  I&#8217;ve tried setting php.ini settings of</p>
<p>(uiserver):account-num:~ &gt; cat php.ini<br />
memory=16MB</p>
<p>and changing that memory from 20, 30, 32, 48, 64, etc&#8230; with varying non-conclusive results.  Some posts say 1and1 limits to 20m, some say 40m, and 1and1&#8242;s own FAQ says 30M on one post and 10M on another.</p>
<p><a href="http://faq.1and1.com/scripting_languages_supported/php/13.html" rel="nofollow">http://faq.1and1.com/scripting_languages_supported/php/13.html</a> says 10M<br />
<a href="http://faq.1and1.com/scripting_languages_supported/php/12.html" rel="nofollow">http://faq.1and1.com/scripting_languages_supported/php/12.html</a> says 30M</p>
<p><a href="http://faq.1and1.com/scripting_languages_supported/php/6.html" rel="nofollow">http://faq.1and1.com/scripting_languages_supported/php/6.html</a> says the defaults for php5 (through another link) are 40M, but my server says 128M.</p>
<p>I&#8217;ll be opening a ticket with them to find out the real deal&#8230; I need to stop my server 500 errors, or at least find the culprit or major reason so I can change some other settings to mitigate the problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis M. Humphrey</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-33</link>
		<dc:creator>Curtis M. Humphrey</dc:creator>
		<pubDate>Tue, 27 Apr 2010 18:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-33</guid>
		<description>That&#039;s for the update! Do you know if they are still silently failing when the memory is overrun? I only originally discover the issue by slowing turning off plug-ins and by added php echo memory used command until I saw that once I was below a certain limit that the site would complete display. If they would report what they really had available then php might display the error and we know quicker what the issue really is.</description>
		<content:encoded><![CDATA[<p>That&#8217;s for the update! Do you know if they are still silently failing when the memory is overrun? I only originally discover the issue by slowing turning off plug-ins and by added php echo memory used command until I saw that once I was below a certain limit that the site would complete display. If they would report what they really had available then php might display the error and we know quicker what the issue really is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-32</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Tue, 27 Apr 2010 18:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-32</guid>
		<description>I was experiencing some of the problems you&#039;re talking about with 1&amp;1, on a WP site with about 3000 visitors a day (@4 pageviews per visit). 1&amp;1 seems to have doubled their limit now to 40M, sometime in the last couple of months. Still not perfect, and they still by default report more available, but people who manually set WP or PHP to 20M will see improved performance if they switch that manual setting to 40M now.</description>
		<content:encoded><![CDATA[<p>I was experiencing some of the problems you&#8217;re talking about with 1&amp;1, on a WP site with about 3000 visitors a day (@4 pageviews per visit). 1&amp;1 seems to have doubled their limit now to 40M, sometime in the last couple of months. Still not perfect, and they still by default report more available, but people who manually set WP or PHP to 20M will see improved performance if they switch that manual setting to 40M now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis M. Humphrey</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-26</link>
		<dc:creator>Curtis M. Humphrey</dc:creator>
		<pubDate>Tue, 05 Jan 2010 21:41:49 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-26</guid>
		<description>Probably true and as long as your number of plug-ins in minimal you are just fine. I had several plug-ins and that adds to the memory requirements. I&#039;m glad you shared your experience!</description>
		<content:encoded><![CDATA[<p>Probably true and as long as your number of plug-ins in minimal you are just fine. I had several plug-ins and that adds to the memory requirements. I&#8217;m glad you shared your experience!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whall</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-25</link>
		<dc:creator>whall</dc:creator>
		<pubDate>Tue, 05 Jan 2010 21:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-25</guid>
		<description>I&#039;ve been using 1and1 for &gt;7 years and I also use wordpress a LOT. I host at least a dozen wordpress sites as well as drupal, joomla and a couple other commerce-based packages.  In general I&#039;ve been happy but have had my share of issues.  

One of these issues is the PHP memory limit. I do use php.ini to set memory to 20m and when I started doing that, it fixed many issues on most of my blogs.  I can confirm that without that setting, many of my blog admin pages crash with 500 error or other timeouts.  So it&#039;s at least doing something, and I make it the default on all my sites -- a php.ini in root and a copy of it in wp-admin.  Every time I do a WP upgrade, I make sure I put this file in both places.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using 1and1 for &gt;7 years and I also use wordpress a LOT. I host at least a dozen wordpress sites as well as drupal, joomla and a couple other commerce-based packages.  In general I&#8217;ve been happy but have had my share of issues.  </p>
<p>One of these issues is the PHP memory limit. I do use php.ini to set memory to 20m and when I started doing that, it fixed many issues on most of my blogs.  I can confirm that without that setting, many of my blog admin pages crash with 500 error or other timeouts.  So it&#8217;s at least doing something, and I make it the default on all my sites &#8212; a php.ini in root and a copy of it in wp-admin.  Every time I do a WP upgrade, I make sure I put this file in both places.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curtis M. Humphrey</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-24</link>
		<dc:creator>Curtis M. Humphrey</dc:creator>
		<pubDate>Mon, 28 Dec 2009 20:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-24</guid>
		<description>So Piter is a spam bot, lol... figures. Dreamhost might be good, it just depends on what you value. I was intrigued by MediaTemple&#039;s architecture for scalability both on the package I purchased and for the future if I need even more performance. One of the issues I disliked a lot with 1 and 1 was that every time I changed the package &lt;I&gt; had to do all the transfer work. If you go dream-host and it resolves your issues let me know.</description>
		<content:encoded><![CDATA[<p>So Piter is a spam bot, lol&#8230; figures. Dreamhost might be good, it just depends on what you value. I was intrigued by MediaTemple&#8217;s architecture for scalability both on the package I purchased and for the future if I need even more performance. One of the issues I disliked a lot with 1 and 1 was that every time I changed the package <i> had to do all the transfer work. If you go dream-host and it resolves your issues let me know.</i></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Katz</title>
		<link>http://curtis.humphreyonline.us/code/wordpress/wordpress-php-memory-and-1and1com/comment-page-1#comment-23</link>
		<dc:creator>Matt Katz</dc:creator>
		<pubDate>Tue, 15 Dec 2009 04:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://curtis.humphreyonline.us/?p=65#comment-23</guid>
		<description>Hi Curtis, sorry to tell you this but Piter is a spam bot.  You might want to delete his post.
I&#039;m also experiencing the horror that is working with 1 and 1.  I&quot;m digging dreamhost more.</description>
		<content:encoded><![CDATA[<p>Hi Curtis, sorry to tell you this but Piter is a spam bot.  You might want to delete his post.<br />
I&#8217;m also experiencing the horror that is working with 1 and 1.  I&#8221;m digging dreamhost more.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

