APCをCentOS5にインストール.
APCをCentOS5にインストール.
$ sudo ./pecl install apcBuild 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()を見ても反映されていない
APC(Alternative 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