WIN Redis的安装教程以及配置
2017-07-27 17:34
423 查看
废话不多说直接开始!
安装
1.安装redis了,
将安装包解压到指定目录
2.打开cmd,切换到目录,执行redis-server.exe redis.conf命令
3.启动成功。
窗口不要关,由于window不支持redis后台操作
再次从新打开cmd,执行命令redis-cli.exe -h 127.0.0.1 -p 6379。
执行set name li;出现ok代表正常运行
安装php扩展
参考链接
http://jingyan.baidu.com/article/9989c74631873bf648ecfed4.html
安装好以后打印phpinfo();观察版本,Architecture,以及thread Safety
访问
http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/(php_redis.dll);
http://windows.php.net/downloads/pecl/releases/igbinary/1.2.1/(php_igbinary.dll);
根据自己的php版本,Architecture,thread Safety,下载
thread Safety为enabled下载ts文件
thread Safety为disabled下载ts文件下载nts文件
分别将php_redis.dll,php_igbinary.dll存放在php文件夹中的ext目录下
打开php.ini. 开启php_igbinary.dll与php_redis.dll扩展。
extension=php_igbinary.dll
extension=php_redis.dll
重启环境。
打印phpinfo(),出现下图代表安装成功。
安装
1.安装redis了,
将安装包解压到指定目录
2.打开cmd,切换到目录,执行redis-server.exe redis.conf命令
3.启动成功。
窗口不要关,由于window不支持redis后台操作
再次从新打开cmd,执行命令redis-cli.exe -h 127.0.0.1 -p 6379。
执行set name li;出现ok代表正常运行
安装php扩展
参考链接
http://jingyan.baidu.com/article/9989c74631873bf648ecfed4.html
安装好以后打印phpinfo();观察版本,Architecture,以及thread Safety
访问
http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/(php_redis.dll);
http://windows.php.net/downloads/pecl/releases/igbinary/1.2.1/(php_igbinary.dll);
根据自己的php版本,Architecture,thread Safety,下载
thread Safety为enabled下载ts文件
thread Safety为disabled下载ts文件下载nts文件
分别将php_redis.dll,php_igbinary.dll存放在php文件夹中的ext目录下
打开php.ini. 开启php_igbinary.dll与php_redis.dll扩展。
extension=php_igbinary.dll
extension=php_redis.dll
重启环境。
打印phpinfo(),出现下图代表安装成功。
相关文章推荐
- redis 安装教程以及设置开机启动
- tomcat以及tomcat环境变量安装配置方法教程
- Laravel 5.1中 Redis 的安装配置及基本使用教程
- redis安装以及配置
- Win10下python 2.7.13 安装配置方法图文教程
- sublime text3安装以及插件配置教程
- java JRE下载、安装以及环境变量的配置图文教程
- Win7、windows 2008 IIS7.5下载安装方法以及教程 IIS7配置PHP环境图文教程(fastcgi快速最新版)
- inux redis 安装配置, 以及redis php扩展
- redis安装以及主从的简单配置测试
- centOS7下redis3.0安装以及布置集群教程(单机创建多个实例调试)
- Redis系列(一)--安装、helloworld以及读懂配置文件
- Mac上安装Homebrew 以及 MongoDB(附win安装教程)
- win10下redis安装及配置及相关坑的讲解
- java环境配置以及JDK安装教程
- Ubuntu与Centos的Hadoop安装以及编译运行MapReduce,Hadoop集群安装配置教程
- window下redis的安装以及php-redis详细配置
- MyEclipse安装教程以及配置server和运行起来
- Linux下Redis安装配置教程
- Redis3.0.7 cluster/集群 安装配置教程