vivion34 发表于 2018-6-13 12:06:16

Windows详细配置Memcache


参数说明:
-m 使用的最大内存(MB),默认64M
下载php_memcache.dll 文件,把它放入php文件夹的ext目录中。
接着在 php.ini 文件里加上:
memcache.max_failover_attempts=20
最好就放在刚才写 "extension=php_memcache.dll" 的下面。(这是默认的一些配置)

https://www.iyunv.com/source/plugin/onexin_bigdata/file:///C:/Users/wendong/AppData/Local/Temp/ksohtml/wps_clip_image-9071.png
memcache
Active persistent connections
2.2.6

Local Value
1
8192
11211
1000
crc32
standard
20

$memcache Memcache;->'localhost') die);= getVersionecho$version;=
'test'$tmp_object; ->'key', false, or (
"Store data in the cache (data will expire in 10 seconds)<br/>\n"$get_result->'key'echo; (
如果输出如下,则测试成功:
Data from the cache:

· · · · · · · · · · · · · ·
页: [1]
查看完整版本: Windows详细配置Memcache