Install the phpredis module on the windwos platform. windwosphpredis_PHP tutorial

Source: Internet
Author: User
Tags php redis
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
    • Required knowledge

      Familiar with basic programming environment setup.

    • Running environment

      Windows 7 (64-bit );
      Php-5.3
      Redis64-2.8.17

    • Environment download

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.

  • Edis for windows

"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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.