Windows 下 Redis 安装配置 PHP 模块

Redis 官网: http://redis.io

微软 Windows 版 Redis: https://github.com/microsoftarchive/redis


下载地址: https://github.com/microsoftarchive/redis/releases


安装过程

1,下载 Redis-x64-3.0.504.zip,解压,加入redis路径到windows环境变量。


2,运行 redis-server.exe redis.windows.conf


3,将redis加入到windows的服务中(service和loglevel前都是两个-)开机自启动

redis-server --service-install redis.windows-service.conf --loglevel verbose


4,在这里需要引入dll动态连接库文件(http://pecl.php.net/package/redis),需要注意的是必须在phpinfo页面查看当前php的版本,线程安全与否,必须引入相对应的dll。




声明:本站所有文章和图片,如无特殊说明,均为原创发布。商业转载请联系作者获得授权,非商业转载请注明出处。
随机推荐
Node.js querystring 模块
Notifications API
二分查找法
JavaScript document 对象
HTML input 元素
MySQL 批量修改时间
JavaScript video 教程
JavaScript 和 CSS 检测横屏适配