redis study notes 1 redis download redis cluster redis visualization tool

WBOY
Release: 2016-07-29 08:48:53
Original
1156 people have browsed it

To install the redis extension under wamp, first determine your php version, use phpinfo() to take a look. The

Then open http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/ or http://windows.php.net/downloads/pecl/snaps/redis/20160319/

There is another small question hereredis 命令,redis windows,redis入门指南,redis 安装,redis java,php redis,redis 下载,redis 集群,redis可视化工具

What are nts and ts?It turns out to be non-thread safety and thread safety

How to see it, look in phpinfo

Thread Safety parameter disabled is NTS, enabled is TS

redis 命令,redis windows,redis入门指南,redis 安装,redis java,php redis,redis 下载,redis 集群,redis可视化工具

Choose ts-x86 download

Unzip and copy php_redis.dll to your wampbinphpphp5.6.15extredis 命令,redis windows,redis入门指南,redis 安装,redis java,php redis,redis 下载,redis 集群,redis可视化工具
Then modify php.ini

Add a line

extension=php_redis.dll

Then restart wamp

The exciting time has come

Test the redis connection

The result is false

I don’t understand!

.

.

redis 命令,redis windows,redis入门指南,redis 安装,redis java,php redis,redis 下载,redis 集群,redis可视化工具 .

Suddenly realized that I haven’t installed redis yet.

Hurry up and find it

I found http://www.2cto.com/os/201504/388029.html in this article

Follow the instructions and install it

Test results

boolean

true

Okay. Now php_redis is installed ok

You can start playing with redis The above introduces redis study notes 1, including redis content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template