<?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>BestJQ &#187; .htaccess</title>
	<atom:link href="http://bestjq.com/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>http://bestjq.com</link>
	<description>Life is like a box of chocolate,You never know what you’re gonna get</description>
	<lastBuildDate>Sun, 17 Jul 2011 11:10:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>对于Linux主机提示内存不足的解决办法</title>
		<link>http://bestjq.com/solution-for-linux-host-memory-problem/</link>
		<comments>http://bestjq.com/solution-for-linux-host-memory-problem/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 11:38:57 +0000</pubDate>
		<dc:creator>Visionaer</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[内存不足]]></category>

		<guid isPermaLink="false">http://bestjq.com/?p=212</guid>
		<description><![CDATA[问题是出现在之前推荐的德国主机kilu上

有2个朋友在wordpress平台下出现这个问题

症状表现为：提示如下Fatal error: Allowed memory size of 25165824 bytes exhausted]]></description>
			<content:encoded><![CDATA[<p>问题是出现在之前推荐的德国主机kilu上</p>
<p>有2个朋友在wordpress平台下出现这个问题<br />
症状表现为：<br />
提示如下<br />
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 500001 bytes) in /data/apache/users/kilu.de/foxygirl/www/wp-includes/class-snoopy.php on line 894<br />
总结一下原因主要是由插件引起的，如simple tag这类插件占用的资源比较多从而出现以上这种情形，导致页面无法访问</p>
<p>现在提供解决方法<br />
在.htaccess文件开头加上<br />
php_value max_execution_time 1200<br />
php_value memory_limit 200M<br />
php_value post_max_size 200M<br />
php_value upload_max_filesize 200M<br />
对于一般的虚拟主机，通过对.htaccess对服务器进行设置就能解决相关问题。这个方法也适用于其他php程序引起的类似问题。</p>
<p>独立主机如果有权限可以直接httpd.conf主机配置里更改相关的设置</p>
]]></content:encoded>
			<wfw:commentRss>http://bestjq.com/solution-for-linux-host-memory-problem/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

