<?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>ni kvel &#187; APC</title>
	<atom:link href="http://orz.miroq.info/archives/tag/apc/feed" rel="self" type="application/rss+xml" />
	<link>http://orz.miroq.info</link>
	<description>漠然的な Something を Do しちゃうところ。</description>
	<lastBuildDate>Fri, 29 May 2009 03:56:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>php APC 入れてみた</title>
		<link>http://orz.miroq.info/archives/30</link>
		<comments>http://orz.miroq.info/archives/30#comments</comments>
		<pubDate>Sun, 16 Nov 2008 03:54:27 +0000</pubDate>
		<dc:creator>miroq</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[APC]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php-pecl-apc]]></category>
		<category><![CDATA[アクセラレータ]]></category>

		<guid isPermaLink="false">http://orz.miroq.info/?p=30</guid>
		<description><![CDATA[php アクセラレータは世の中にいっぱいある。 APC (Alternative PHP Cache) eAccelerator XCache Gigazine の投稿を参考にし、なおかつ Fedora で yum で入れれる APC を入れてみた。 # yum install php-pecl-apc インストール後、/etc/php.d/apc.ini に APC 設定ファイルが作成されるので、編集して↓のようにした。 ; Enable apc extension module extension = apc.so ; Options for the apc module apc.enabled=1 apc.shm_segments=1 apc.optimization=2 apc.shm_size=32 apc.ttl=7200 apc.user_ttl=7200 apc.num_files_hint=1024 apc.mmap_file_mask=/tmp/apc.XXXXXX apc.enable_cli=1 apc.cache_by_default=1 apc.optimization は Default では 0 だけど、Alternative PHP [...]]]></description>
			<content:encoded><![CDATA[<p>php アクセラレータは世の中にいっぱいある。</p>
<blockquote><li>APC (Alternative PHP Cache)</li>
<li>eAccelerator</li>
<li>XCache</li>
</blockquote>
<p><a href="http://gigazine.net/index.php?/news/comments/20061103_php_accelerator/" target="_blank">Gigazine</a> の投稿を参考にし、なおかつ Fedora で yum で入れれる APC を入れてみた。</p>
<blockquote><p># yum install php-pecl-apc</p></blockquote>
<p>インストール後、/etc/php.d/apc.ini に APC 設定ファイルが作成されるので、編集して↓のようにした。</p>
<blockquote><p>; Enable apc extension module<br />
extension = apc.so<br />
; Options for the apc module<br />
apc.enabled=1<br />
apc.shm_segments=1<br />
apc.optimization=2<br />
apc.shm_size=32<br />
apc.ttl=7200<br />
apc.user_ttl=7200<br />
apc.num_files_hint=1024<br />
apc.mmap_file_mask=/tmp/apc.XXXXXX<br />
apc.enable_cli=1<br />
apc.cache_by_default=1</p></blockquote>
<p>apc.optimization は Default では 0 だけど、<a href="http://phpspot.net/php/man/php/ref.apc.html" target="_blank">Alternative PHP Cache (APC)</a> を参考にすると、</p>
<blockquote><p>
apc.optimization  integer</p>
<p>最適化レベル。ゼロは最適化を無効にし、値を大きくするほど 最適化のレベルが高くなります。わずかながら速度の向上が 期待できます。この項目は実験的なものです。 </p></blockquote>
<p>と書いているので、0 で試してみていないのにも関わらず、2 にしてみた。1 にしないのは天の邪鬼なのでｗｗｗｗ<br />
で、Apache を再起動し自分の blog で確認したら・・・表示早くなったよおおおおおおお。<br />
てことで、アクセラレータの恩恵を初めて感じました。</p>
]]></content:encoded>
			<wfw:commentRss>http://orz.miroq.info/archives/30/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="" type="" />
		</item>
	</channel>
</rss>

