<?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>为IT服务 [龙飞的博客] &#187; eaccelerator</title>
	<atom:link href="http://226617.cn/archives/tag/eaccelerator/feed" rel="self" type="application/rss+xml" />
	<link>http://226617.cn</link>
	<description>什么都略懂一点，生活就多彩一些</description>
	<lastBuildDate>Thu, 09 Feb 2012 04:03:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>php开启open_basedir后启用eaccelerator时File() on line 0报错解决</title>
		<link>http://226617.cn/archives/847.htm</link>
		<comments>http://226617.cn/archives/847.htm#comments</comments>
		<pubDate>Mon, 14 Jun 2010 05:40:26 +0000</pubDate>
		<dc:creator>龙飞</dc:creator>
				<category><![CDATA[linux相关]]></category>
		<category><![CDATA[php相关]]></category>
		<category><![CDATA[eaccelerator]]></category>
		<category><![CDATA[File()]]></category>
		<category><![CDATA[line 0]]></category>
		<category><![CDATA[open_basedir]]></category>

		<guid isPermaLink="false">http://226617.cn/?p=847</guid>
		<description><![CDATA[open_basedir是php提升安全性的重要功能，eaccelerator是提速php的扩展模块，但是似乎默认环境下他们2一起用只要有require就会造成大量的php错误。 PHP Warning: Unknown: open_basedir restriction in effect. File() is ... ]]></description>
			<content:encoded><![CDATA[<div style="clear:both; margin-top:5px; margin-bottom:5px;"></div><p>open_basedir是php提升安全性的重要功能，eaccelerator是提速php的扩展模块，但是似乎默认环境下他们2一起用只要有require就会造成大量的php错误。</p>
<p><code><br />
PHP Warning:  Unknown: open_basedir restriction in effect. File() is not within the allowed path(s): (/www/:/tmp/) in Unknown on line 0<br />
</code></p>
<p>要解决这个问题的话在编译eaccelerator时 加上一个参数就行 &#8211;without-eaccelerator-use-inode<br />
官方也说将在0.9.6.1的下一个release中默认启用这个参数。</p>
<div style="float:left"><!-- JiaThis Button BEGIN -->
<script type="text/javascript">var jiathis_config = {data_track_clickback:true};</script>
<script type="text/javascript" src="http://v2.jiathis.com/code/jiathis_r.js?move=0&amp;btn=r3.gif&amp;uid=907308" charset="utf-8"></script>
<!-- JiaThis Button END -->|2|left|yes</div><div style="clear:both; margin-top:5px; margin-bottom:5px;"></div>]]></content:encoded>
			<wfw:commentRss>http://226617.cn/archives/847.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

