Installing Redis and extensions under Windows PHP7

Source: Internet
Author: User
Tags phpinfo redis download redis version

1. Enter Phpinfo,

Select the appropriate Redis version and extension based on the above information

2. Go to link https://github.com/MicrosoftArchive/redis/releases redis, I download the redis-x64-3.0.503, file download unzip

Go to the link https://pecl.php.net/package/redis download extension, expand the version number that corresponds to Redis

corresponding to download 3.0.0 version, enter DLL, corresponding information select the link in the red box to download

3. After the download decompression, put the Php_redis.dll file into the Php/ext folder, put in the extension file, we should introduce the use of (note because I use the Wampserver integration environment, so it is in the php.ini file under Apache to make changes, Instead of changing the INI file under PHP)

Enter the php.ini file, add a sentence (note: PHP7 version is not required Php_igbinary.dll extension)

Restart the PHP environment and enter Phpinfo again. will appear

Note that the installation was successful, this is the version number of Redis, and then we start the service side of Redis

Write code

Output

OK installation Successful

Installing Redis and extensions under Windows PHP7

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.