APCはPHPの中間コードのキャッシュや最適化を行う拡張モジュールです。基本的にPHPを使うサーバーに全て入れてよいようです。 本日とあるサーバーにインストールしたのでやり方をメモ。 環境 まずは環境ですが、CentOS 4.4 + PHP 5.1.6 です。 事前準備 まず、peclが入っているかどうか調べます。 # pecl list-all apc All packages: ============= Package Latest Local pecl/KTaglib 0.2.0 Library to edit audio properties and tags on MPEG and OGG files pecl/FliteTTS Text to speech voice synthesis for PHP pecl/Ovrimos Ovrimos interface pecl/
![CentOSにAPCをインストールする方法 | Web活メモ帳](https://cdn-ak-scissors.b.st-hatena.com/image/square/65e4e4481bc292a9a9ebd029bc016bb18a97c88a/height=288;version=1;width=512/https%3A%2F%2Fblog.verygoodtown.com%2Fwordpress%2Fwp-content%2Fuploads%2Fapc21.png)