nkc3g4 发表于 2011-8-11 11:40:36

win2008r2+php5.3 nts 开启xcache

下载xcache
把php_xcache.dll解压到C:\Program Files (x86)\PHP\ext
编辑php.ini
加入下面文字,然后另存为,再替换原文件
zend_extension = "C:\Program Files (x86)\PHP\ext\php_xcache.dll"

xcache.admin.enable_auth = Off
xcache.admin.user = "myaupair"
xcache.admin.pass = "1234"

xcache.shm_scheme = "mmap"
xcache.size =64M
xcache.count = 4
xcache.slots = 64K
xcache.ttl = 1800
xcache.gc_interval = 1800
xcache.var_size = 8M
xcache.var_count = 4
xcache.var_slots = 64K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.test = Off
xcache.readonly_protection = Off
xcache.mmap_path = "xcache"
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = Off
xcache.optimizer = Off

xcache.coverager = Off
完成后重启电脑,
新建一个info.php 里面写
<?php phpinfo(); ?>
用浏览器打开,看到xcache的配置信息就对了
页: [1]
查看完整版本: win2008r2+php5.3 nts 开启xcache