"Redis Installation" and "adding Redis extensions in PHP" under Windows

Source: Internet
Author: User
Tags download redis phpinfo

I. Installing REDIS and Enabling services 1. Download Redis Package

Link: Http://pan.baidu.com/s/1sjKfZOD Password: oy5c

2, after decompression, you can see the following files

3, double-click Run Server Redis-server.exe, open the service,

4, double-click to run the client Redis-cli.exe, can be seen on the server connection prompt:

5, then, you can use:

Add Redis extension ===================================================== in =======================================php

1. First, check the compiled version of PHP, and view it in Phpinfo ().

2, download the php_redis.dll extension, note the supported PHP version

: Https://github.com/phpredis/phpredis/downloads

Http://www.apachelounge.com/viewtopic.php?t=6123

3, put the downloaded php_redis.dll in the PHP extension directory (EXT), and modify the configuration file php.ini (add Extension=php_igbinary.dll, Extension=php_redis.dll)

Extension=php_igbinary.dll

Extension=php_redis.dll

Note: Extension=php_igbinary.dll must be placed in front of extension=php_redis.dll, otherwise this extension will not take effect

4, restart the service, view Phpinfo (), the following indicates success;

"Redis Installation" and "adding Redis extensions in PHP" under Windows

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.