<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>T.J. Schmitz.com &#187; wordpress PHP error .htaccess</title>
	<atom:link href="http://tjschmitz.com/blog/tag/wordpress-php-error-htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://tjschmitz.com/blog</link>
	<description>It&#039;s all about me, right?</description>
	<lastBuildDate>Mon, 07 Mar 2011 16:41:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Fixing the PHP Allowed Memory Size Exchausted Fatal Error in WordPress</title>
		<link>http://tjschmitz.com/blog/2007/12/12/fixing-the-php-allowed-memory-size-exchausted-fatal-error-in-wordpress/</link>
		<comments>http://tjschmitz.com/blog/2007/12/12/fixing-the-php-allowed-memory-size-exchausted-fatal-error-in-wordpress/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 00:20:58 +0000</pubDate>
		<dc:creator>T.J.</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[wordpress PHP error .htaccess]]></category>

		<guid isPermaLink="false">http://cstarsys.com/blog/2007/12/12/fixing-the-php-allowed-memory-size-exchausted-fatal-error-in-wordpress/</guid>
		<description><![CDATA[When I logged on to post an update today, I was greeted with the error message: Allowed memory size of 8388608 bytes exhausted (tried to allocate 208834 bytes) in /public_html/* (where * represented the path to any file in the wp-admin portion of one of my blogs). The content/end-user portion of the blogs were showing [...]]]></description>
			<content:encoded><![CDATA[<p>When I logged on to post an update today, I was greeted with the error message:<br />
<code>Allowed memory size of 8388608 bytes exhausted (tried to allocate 208834 bytes) in /public_html/*</code><br />
(where * represented the path to any file in the wp-admin portion of one of my blogs). The content/end-user portion of the blogs were showing up just fine, I just couldn&#8217;t write any new content or make changes.</p>
<p>My <a href="http://wordpress.org/support/topic/133676" target="_blank">initial research</a> said that I would need to get my hosting company to increase the memory allocation of PHP on the server, or add the line  <code>ini_set("memory_limit","16M");</code> to any offending .php file.  Since my hosting company is takes days to get to any problems, and I was having this issue with <em>every</em> .php file in the /wp-admin/ directory, these seemed like non-solutions.  When I came across the <a href="http://www.moneyvsdebt.com/2007/06/15/wordpress-22-fatal-error-allowed-memory-size-failure/" target="_blank">idea</a> of adding  <code>php_value memory_limit 32000000</code> to my .htaccess file, my hopes of a quick fix were restored.  I added the line to the .htaccess file in the root of my website (/public_html) and the problem disappeared instantly, for all of my blogs hosted on this server. Hurray for quick, easy fixes!
<div class="tw_button" style=""><a href="http://twitter.com/share?url=http%3A%2F%2Ftjschmitz.com%2Fblog%2F%3Fp%3D160&amp;text=Fixing+the+PHP+Allowed+Memory+Size+Exchausted+Fatal+Error+in+WordPress&amp;lang=en&amp;count=none" style="" class="twitter-share-button">Tweet</a></div>
]]></content:encoded>
			<wfw:commentRss>http://tjschmitz.com/blog/2007/12/12/fixing-the-php-allowed-memory-size-exchausted-fatal-error-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

