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 here
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
Choose ts-x86 download
Unzip and copy php_redis.dll to your wampbinphpphp5.6.15ext
Then modify php.ini
Add a line
extension=php_redis.dll
Then restart wamp
The exciting time has come
Test the redis connectionThe result is falseI don’t understand!.
.
.
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.