Redis installation process under Windows

Source: Internet
Author: User
Tags install redis

(Turn) Original: http://www.cnblogs.com/M-LittleBird/p/5902850.html

To make Redis run under PHP, add the extension file to the Ext extension folder under PHP files

    • Php_igbinary.dll
    • Php_redis.dll

Modify php.ini configuration items at the same time

Add the following code:

Extension=php_igbinary.dll

Extension=php_redis.dll

Note: Versions of Php_igbinary.dll and Php_redis.dll need to correspond to versions of PHP

One, download the Windows version of Redis

Go to the official website for a long time, found the original on the official website can be downloaded version of the Windows, the official website and no, can only be downloaded on GitHub, the official website only provides the Linux version of the download

Official website: http://redis.io/download

Github:https://github.com/msopentech/redis/tags

Second, the installation of Redis

1. Here is the redis-x64-3.2.100 version, My computer is Win7 64 bit, so download the 64-bit version, enter CMD in the run, and then point the directory to the extracted Redis directory.

2. Start command

Redis-server redis.windows.conf, the display indicates that the boot was successful.

third, set up Redis service

1, as the above although the Redis started, but as soon as a close cmd window, Redis will disappear. So to set up Redis as a service under Windows.

That is, set up here, the first to discover that the Redis service is useless.

2. Set service command

Redis-server--service-install redis.windows-service.conf--loglevel verbose

After entering the command no error, indicating success, refresh the service, you will see a more Redis service.

3. Common Redis service commands.

Uninstall Service: Redis-server--service-uninstall

Open service: Redis-server--service-start

Stop service: Redis-server--service-stop

4. Start the service

5. Test Redis

The installation test was successful.

Here just do simple installation, deployment services use, more in-depth use can go to Redis Chinese network to see the http://www.redis.net.cn/Blog Park also has a lot of deep use, because my blog system needs to use, do a point.

There is a document in the downloaded unpacking package, with detailed instructions,

What are the flaws, please give us a lot of advice, thank you.

Redis installation process under Windows (GO)

Related Article

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.