In the work of the use of Redis this function, need to expand, on the Internet to find some information, self-made records
Https://github.com/nicolasff/phpredis/downloads
Go to this place to download, you can find their corresponding version, the first two have 32-bit and 64-bit points, because my local PHP version of 5.2 Using the third compression package. Open the corresponding DLL restart Apache, remember to synchronize Php/php.ini and Apache/php.ini update
Run the Redis service before testing in a PHP file, with the following file contents in the first and second compressed packages
Double-click the installation directory under Redis-server.exe to start the Redis cache service.
You can open the cache client by double-clicking Redis-cli.exe in the installation directory.
You can put these two start-up actions into the file to modify the bat to run automatically
Start "Redis-server"/min cmd/c redis-server D:\redis\redis.confstart "redis-client"/min cmd/c redis-cli
After running the Redis service, you can run a PHP program test
$redis = new Redis (), $redis->connect (' 127.0.0.1 ', 6379), $redis->set (' Test ', ' helloworld! '); echo $redis->get (' Test ');
Wamp Extended Redis under Window