<?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: PHP: Increase memory limit</title>
	<atom:link href="http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/</link>
	<description>Web Development Resources</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:42:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Asch</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-8674</link>
		<dc:creator>Asch</dc:creator>
		<pubDate>Mon, 12 Sep 2011 11:18:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-8674</guid>
		<description>I tried this, but a while ago my host placed individual php.ini files in all my folders, do I have to edit each and every php.ini or is there a way to set one that will be used for everything?

Thanks,
~asch.</description>
		<content:encoded><![CDATA[<p>I tried this, but a while ago my host placed individual php.ini files in all my folders, do I have to edit each and every php.ini or is there a way to set one that will be used for everything?</p>
<p>Thanks,<br />
~asch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How and Why use set PHP Memory Limit &#8211; Thunder Chrome</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-8069</link>
		<dc:creator>How and Why use set PHP Memory Limit &#8211; Thunder Chrome</dc:creator>
		<pubDate>Sat, 06 Aug 2011 15:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-8069</guid>
		<description>[...] into php script.  The best practice would be embed in script, followed by .htaccess. Refrences http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/ http://www.php.net/manual/en/internals2.memory.management.php [...]</description>
		<content:encoded><![CDATA[<p>[...] into php script.  The best practice would be embed in script, followed by .htaccess. Refrences <a href="http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/" rel="nofollow">http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/</a> <a href="http://www.php.net/manual/en/internals2.memory.management.php" rel="nofollow">http://www.php.net/manual/en/internals2.memory.management.php</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steedan Crowe &#124; Blog &#124; Installing Jetpack with BuddyPress on Wordpress [not working]</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7977</link>
		<dc:creator>Steedan Crowe &#124; Blog &#124; Installing Jetpack with BuddyPress on Wordpress [not working]</dc:creator>
		<pubDate>Thu, 04 Aug 2011 01:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7977</guid>
		<description>[...] hours trying to get it to work. Finally after searching the forums and stumbling across this post: http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/ I was able to get it [...]</description>
		<content:encoded><![CDATA[<p>[...] hours trying to get it to work. Finally after searching the forums and stumbling across this post: <a href="http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/" rel="nofollow">http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/</a> I was able to get it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Antonie Potgieter</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7421</link>
		<dc:creator>Antonie Potgieter</dc:creator>
		<pubDate>Mon, 14 Feb 2011 08:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7421</guid>
		<description>@Karen,

The line to add to .htaccess is:

php_value memory_limit 96M

Replace &quot;96M&quot; with the memory limit you need.

All the best,
Antonie</description>
		<content:encoded><![CDATA[<p>@Karen,</p>
<p>The line to add to .htaccess is:</p>
<p>php_value memory_limit 96M</p>
<p>Replace &#8220;96M&#8221; with the memory limit you need.</p>
<p>All the best,<br />
Antonie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7403</link>
		<dc:creator>Karen</dc:creator>
		<pubDate>Tue, 08 Feb 2011 06:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7403</guid>
		<description>OK, my problem just got solved!!!

Got it from this http://wordpress.org/support/topic/fatal-error-out-of-memory-messages?replies=24#post-1929111, thought I&#039;d share it with you guys : 

 THIS TO BE ENTERED IN THE WP-CONFIG FILE WHICH IS IN THE ROOT OF THE WORDPRESS SETUP:
ENTER AFTER: define(&#039;ABSPATH&#039;, dirname(__FILE__).&#039;/&#039;);
THE FOLLOWING:

define(&#039;WP_MEMORY_LIMIT&#039;, &#039;64M&#039;);

I ALSO CREATED A PHP.INI WHICH I UPLOADED TO THE PLUGIN FOLDER IN WP-CONTENT:

memory_limit = 128M; Maximum amount of memory a script may consume (64MB) 
max_execution_time = 45; 
upload_max_filesize = 10M; 
post_max_size = 20M;

 
Hope this helps!</description>
		<content:encoded><![CDATA[<p>OK, my problem just got solved!!!</p>
<p>Got it from this <a href="http://wordpress.org/support/topic/fatal-error-out-of-memory-messages?replies=24#post-1929111" rel="nofollow">http://wordpress.org/support/topic/fatal-error-out-of-memory-messages?replies=24#post-1929111</a>, thought I&#8217;d share it with you guys : </p>
<p> THIS TO BE ENTERED IN THE WP-CONFIG FILE WHICH IS IN THE ROOT OF THE WORDPRESS SETUP:<br />
ENTER AFTER: define(&#8216;ABSPATH&#8217;, dirname(__FILE__).&#8217;/');<br />
THE FOLLOWING:</p>
<p>define(&#8216;WP_MEMORY_LIMIT&#8217;, &#8217;64M&#8217;);</p>
<p>I ALSO CREATED A PHP.INI WHICH I UPLOADED TO THE PLUGIN FOLDER IN WP-CONTENT:</p>
<p>memory_limit = 128M; Maximum amount of memory a script may consume (64MB) <br />
max_execution_time = 45; <br />
upload_max_filesize = 10M; <br />
post_max_size = 20M;</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7401</link>
		<dc:creator>Karen</dc:creator>
		<pubDate>Mon, 07 Feb 2011 23:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7401</guid>
		<description>What&#039;s the correct line to add in the .htaccess file to increase the memory limit?</description>
		<content:encoded><![CDATA[<p>What&#8217;s the correct line to add in the .htaccess file to increase the memory limit?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7394</link>
		<dc:creator>Karen</dc:creator>
		<pubDate>Sun, 06 Feb 2011 14:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7394</guid>
		<description>Ok, I contacted my host and he told me that my memory limit is already 64M.  I was also able to check it myself via phpinfo.  I was also told that since I&#039;m on shared hosting, I can&#039;t go beyond 64M anymore.  

Now I am already able to access my sites and wp-admin.  However, I still see this message whenever I add a new site using a new subdomain: 

fatal error: out of memory (allocated 66846720) (tried to allocate 35 bytes) in /home/maxlife/public_html/healthydinnerrecipesreview.com/wp-includes/meta.php on line 310

How do I address this please?</description>
		<content:encoded><![CDATA[<p>Ok, I contacted my host and he told me that my memory limit is already 64M.  I was also able to check it myself via phpinfo.  I was also told that since I&#8217;m on shared hosting, I can&#8217;t go beyond 64M anymore.  </p>
<p>Now I am already able to access my sites and wp-admin.  However, I still see this message whenever I add a new site using a new subdomain: </p>
<p>fatal error: out of memory (allocated 66846720) (tried to allocate 35 bytes) in /home/maxlife/public_html/healthydinnerrecipesreview.com/wp-includes/meta.php on line 310</p>
<p>How do I address this please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karen</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7393</link>
		<dc:creator>Karen</dc:creator>
		<pubDate>Sun, 06 Feb 2011 13:44:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7393</guid>
		<description>This is how my .htaccess file looked after adding the line at the end: (Is this correct?)

# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
# END WordPress
php_value memory_limit 64M

I saved this then refreshed. But when I went back to my wp-admin, I got this error message: Internal Server Error :(

Now, I can&#039;t access my sites (both actual sites and wp-admins) with the domain name in question, all of them showing this internal error message. (Panic mode!!!)

Would greatly appreciate help.please....desperately need help.

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>This is how my .htaccess file looked after adding the line at the end: (Is this correct?)</p>
<p># BEGIN WordPress<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^index\.php$ &#8211; [L]</p>
<p># uploaded files<br />
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]</p>
<p>RewriteCond %{REQUEST_FILENAME} -f [OR]<br />
RewriteCond %{REQUEST_FILENAME} -d<br />
RewriteRule ^ &#8211; [L]<br />
RewriteRule . index.php [L]<br />
# END WordPress<br />
php_value memory_limit 64M</p>
<p>I saved this then refreshed. But when I went back to my wp-admin, I got this error message: Internal Server Error <img src='http://www.lost-in-code.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Now, I can&#8217;t access my sites (both actual sites and wp-admins) with the domain name in question, all of them showing this internal error message. (Panic mode!!!)</p>
<p>Would greatly appreciate help.please&#8230;.desperately need help.</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: L-Methionine Side Effects</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7201</link>
		<dc:creator>L-Methionine Side Effects</dc:creator>
		<pubDate>Sun, 12 Dec 2010 18:04:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7201</guid>
		<description>when you want to do some heavy content and traffic on your website, you will really need a dedicated server ,`;</description>
		<content:encoded><![CDATA[<p>when you want to do some heavy content and traffic on your website, you will really need a dedicated server ,`;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Air Purifiers :</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/comment-page-1/#comment-7107</link>
		<dc:creator>Air Purifiers :</dc:creator>
		<pubDate>Mon, 25 Oct 2010 16:25:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59#comment-7107</guid>
		<description>when it comes to webhosting, try selecting a webhost with Directadmin rather than Webmin control panel,~,</description>
		<content:encoded><![CDATA[<p>when it comes to webhosting, try selecting a webhost with Directadmin rather than Webmin control panel,~,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

