参考链接:
http://www.runoob.com/redis/redis-install.html
一、应用版本
3.2.100
windows后台运行
redis-server.exe --service-install redis.windows.conf --loglevel verbose
conf配置:
密码
requirepass 123456
最大内存
maxmemory 1024000000
扩展
去 PHP官网下一下扩展,注意php版本别下错了
下载链接
https://pecl.php.net/package/redis
将包中的php_redis.dll php包的ext文件夹中
在 php.ini 中exension=php_redis.dll
重启apche
运行 phpinfo()是否扩展了redis
2.2.7
php使用redis请看本博客
https://blog.csdn.net/weixin_41858542/article/details/81239640