一、.安装Memcached
(1)介绍:Memcached 缓存数据库查询结果 (缓存在内存中,服务器内存中)
(2)安装步骤
安装1.4.4版本
1.在网站获取对应版本的安装包,将安装包放在c盘根目录下
2.在C:\Windows\System32中,右击cmd.exe以管理员身份运行。
二、使用Memcaches
(1)两种使用方式
笔者运行环境
win:php7.0+apache+mysql
相关网址
Memcached下载地址:http://www.runoob.com/memcached/window-install-memcached.html
安装 php_memcache.dll 下载地址:http://pecl.php.net/package/memcache/3.0.8/windows
memadmin:图形化形式管理Memcached数据 下载地址:https://github.com/junstor/memadmin