首页 > Web开发 > 详细

linux下为php安装APC扩展

时间:2014-07-30 11:45:43      阅读:366      评论:0      收藏:0      [点我收藏+]

wget http://pecl.php.net/get/APC-3.1.9.tgz
tar xzvf APC-3.1.9.tgz
cd APC-3.1.9
/usr/local/php/bin/phpize
./configure --enable-apc-mmap --enable-apc --enable-apc-filehits --with-php-config=/usr/local/php/bin/php-config --prefix=/usr/local/apc
make
make install

extension = apc.so
apc.enabled = 1
apc.cache_by_default = on
apc.shm_segments = 1
apc.shm_size = 160
apc.ttl = 7200
apc.user_ttl = 7200
apc.num_files_hint = 0
apc.write_lock = On
apc.gc_ttl=3600
apc.ttl=0

linux下为php安装APC扩展,布布扣,bubuko.com

linux下为php安装APC扩展

原文:http://www.cnblogs.com/gpfeisoft/p/3877444.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!