搜索
查看: 4075|回复: 0

[环境搭建] win2008r2+php5.3 nts 开启xcache

[复制链接]
发表于 2011-8-11 11:40:36 | 显示全部楼层 |阅读模式
下载xcache XCache-1.3.2-php-5.3.6-nts-Win32-VC9-x86.zip (100.06 KB, 下载次数: 537)
把php_xcache.dll解压到C:\Program Files (x86)\PHP\ext
编辑php.ini
加入下面文字,然后另存为,再替换原文件
zend_extension = "C:\Program Files (x86)\PHP\ext\php_xcache.dll"
[xcache.admin]
xcache.admin.enable_auth = Off
xcache.admin.user = "myaupair"
xcache.admin.pass = "1234"
[xcache]
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]
xcache.coverager = Off
完成后重启电脑,
新建一个info.php 里面写
<?php phpinfo(); ?>
用浏览器打开 xcache.GIF ,看到xcache的配置信息就对了
回复

使用道具 举报

联系我们(Contact)|手机版|萝卜头IT论坛 ( 苏ICP备15050961号-1 )

GMT+8, 2024-11-21 20:21 , Processed in 0.090577 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表