XCache安装配置
来源:互联网 发布:英雄无敌7 mac 编辑:程序博客网 时间:2024/05/21 16:14
安装XCache模块
# phpize
# ./configure --with-php-config=/usr/local/php/bin/php-config --enable-xcache --enable-xcache-optimizer
# make
# make install
# ./configure --with-php-config=/usr/local/php/bin/php-config --enable-xcache --enable-xcache-optimizer
# make
# make install
算出密码的MD5字串
# echo -n “123456″ | md5sum
配置XCache
# vi /etc/php.ini
[xcache-common]
zend_extension = /usr/local/php/lib/php/extensions/xcache.so
[xcache.admin]
; Change xcache.admin.user to your preferred login name
xcache.admin.user = "admin"
; Change xcache.admin.pass to the MD5 fingerprint of your password
; Use md5 -s "your_secret_password" to find the fingerprint
xcache.admin.pass = "e10adc3949ba59abbe56e057f20f883e"
[xcache]
; Change xcache.size to tune the size of the opcode cache
xcache.size = 24M
xcache.shm_scheme = "mmap"
xcache.count = 2
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
; Change xcache.var_size to adjust the size of variable cache
xcache.var_size = 8M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
xcache.readonly_protection = On
xcache.mmap_path = "/tmp/xcache"
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
xcache.coverager = On
xcache.coveragedump_directory = ""
zend_extension = /usr/local/php/lib/php/extensions/xcache.so
[xcache.admin]
; Change xcache.admin.user to your preferred login name
xcache.admin.user = "admin"
; Change xcache.admin.pass to the MD5 fingerprint of your password
; Use md5 -s "your_secret_password" to find the fingerprint
xcache.admin.pass = "e10adc3949ba59abbe56e057f20f883e"
[xcache]
; Change xcache.size to tune the size of the opcode cache
xcache.size = 24M
xcache.shm_scheme = "mmap"
xcache.count = 2
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
; Change xcache.var_size to adjust the size of variable cache
xcache.var_size = 8M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
xcache.readonly_protection = On
xcache.mmap_path = "/tmp/xcache"
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
xcache.coverager = On
xcache.coveragedump_directory = ""
重启PHP模块
正常load之后,
在phpinfo显出的信息内
Zend这快应该会加上XCache的内容
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with XCache v1.2.1, Copyright (c) 2005-2007, by mOo
- XCache安装配置
- xcache安装与配置
- nginx环境下 XCache安装配置
- LNMP的编译安装与xcache、memcached的安装配置
- nginx+php+memcache+xcache+mysql安装与配置
- win2003+IIS下安装Xcache加速的配置方法分享
- solaris10上安装Xcache
- Xcache安装与使用
- xcache 安装备忘
- Xcache的安装
- PHP5 XCache安装指南
- 网站加速---Xcache安装
- PHP缓存Xcache安装
- PHP安装xcache
- XCache
- xcache
- xcache
- PHP缓存Xcache安装笔记
- Python解决打靶问题
- JTree用法及JTree使用经验总结(转)
- 数据库查询优化原则
- excel实用技巧
- Oracle数据库SQL语句性能调整的基本原则
- XCache安装配置
- oracle字符串函数收藏
- ALV GRID的颜色
- 平面及其方程
- CodeGear.Rad.Studio.2009-SHOCKiSO的安装和破解
- ORACLE语法和SQL练习
- 用javascript操作数据库
- JSTL-EL表达式
- JSP连接各类数据库大全