APCをCentOS5にインストール.

APCをCentOS5にインストール.


$ sudo ./pecl install apc

Build process completed successfully
Installing '/usr/lib/20060613/apc.so'
install ok: channel://pecl.php.net/APC-3.0.19
configuration option "php_ini" is not set to php.ini location
You should add "extension=apc.so" to php.ini

phpinfo()を見ても反映されていない
APCAlternative PHP Cache)再び - Do You PHP? http://www.doyouphp.jp/tips/tips_apc.shtml
ここ参考にソースをDLして


phpize
./configure --enable-apc
make
make install
でもだめ.

phpinfo()をよく見ると
extension_dir = /usr/lib/php/modules
となっているので,apc.so を上記ディレクトリにコピーしたらOK