Install the phpredis module and windwosphpredis on the windwos platform. The phpredis module is installed on the windwos platform. windwosphpredis requires the necessary knowledge to be familiar with the basic programming environment. Windows 7 (64-bit) operating environment; in the php-5.3redis64-2.8.17 environment, the phpredis module and windwosphpredis are installed on the windwos platform.
Requirements
What is PHP Redis?
PHP Redis is a PHP module written in C language used to connect to and operate data on the Redis database.
Download
- : Https://github.com/phpredis/phpredis/downloads
Here we needNote the version numberMy personal profile is: php_redis-5.3-vc9-ts-73d99c3e.zip
Connect ("localhost", "6379"); $ redis-> set ("string", "Hello World "); echo $ redis-> get ("string");?>
Test in the browser. Note that the reids service must be started. For details about how to install Redis on windows, refer to an article I wrote earlier.
"Not bad" button or click "like" in the lower right corner of the page. You can also click the "share" floating button on the right side of the page to let more people read this article.
Author: Li-Cheng Weibo: http://weibo.com/lichen?426. Leave your footprints. comments are welcome. You can also follow me and learn together! (^_^) If you think this article is helpful to you, you can have a cup of coffee)
NLP requires necessary knowledge to be familiar with the basic programming environment. Running environment windows 7 (64-bit); php-5.3 redis64-2.8.17 environment...