linux下为php安装APC扩展
2014-07-30 10:41
525 查看
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
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
相关文章推荐
- php linux apc扩展安装
- linux下php5.4安装加速扩展apc配置
- linux下php扩展curl的安装
- Linux系统安装php扩展cURL
- Linux下安装php的memcache扩展库
- Linux php安装zip扩展
- linux下安装php,apache扩展
- linux php扩展安装方法
- linux下 安装 ImageMagick 及其 php imagick扩展[转]
- linux 下编译安装php mongodb扩展
- 纯PHP上传 ,带进度显示 ,Linux下安装 PHP文件上传扩展,uploadprogress的安装
- linux下php扩展cURL的安装
- Linux环境FastDFS分布式文件系统及PHP扩展库的安装与配置
- linux安装php扩展json
- Linux 下安装 php的ming扩展
- linux下安装php扩展
- linux php扩展安装方法
- 终于安装上了linux php oci8扩展
- Linux下的Memcache安装 PHP扩展memcache
- linux下Redis与phpredis扩展安装