Installing Redis and Redis extensions under Windows, setting up Redis for Windows self-service

Source: Internet
Author: User
Tags redis server

1. Installing Redis

Redis does not have an official version of Windows, but the Microsoft Open Technology team (Microsoft Open Tech Group) develops and maintains this Win64 version.

I downloaded this version of 3.0: https://github.com/MicrosoftArchive/redis/releases

Download and then unzip. I unzip here to the D packing directory:

1.1 Start the Redis server terminal program:

Open the cmd command, enter the Redis installation directory, and run the following command:

Redis-server redis.windows.conf

1.2 Starting the Redis client program

After the service-side program starts, do not close, double-click Redis-cli.exe under the Redis installation directory to start the client program

2, install Php-redis extension. Confirm the installed version

Check the information in Phpinfo, confirm the installed version, for example, I need to install the TS version of X64.

2.1 Installing Redis and Igbinary extensions

Redis extension: https://windows.php.net/downloads/pecl/releases/redis/

Igbinary extension: Http://windows.php.net/downlo ...

After downloading and extracting, copy the Php_redis.dll and Php_igbinary.dll to the Ext directory in the PHP installation directory

Open a php.ini file, and add the extension:

Extension=php_igbinary.dll
Extension=php_redis.dll

Installing Redis and Redis extensions under Windows, setting up Redis for Windows self-service

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.