PHP opens Redis extension

Source: Internet
Author: User
Tags php redis redis install redis

First you need to install Redis, install Php_redis extensions after installation, Php_redis extended download address as follows:

PHP Redis Extensions:
Download Address:

1, http://windows.php.net/downloads/pecl/releases/redis/

2, Https://pecl.php.net/package/redis

These two addresses are relatively comprehensive, download the corresponding version of the can.

Note: TS represents thread-safe, nts that is not thread-safe, based on the version used by PHP. (You can use thread safety in Phpinfo to determine what version of PHP is, enabled: thread-safe, disabled: is not thread-safe)

After downloading, Php_redis.dll, php_redis.pdb files will be placed in the Ext file under the PHP installation directory.

Add in the php.ini

Extension=php_igbinary.dll
Extension=php_redis.dll

Open the PHP redis extension.

Restart PHP.

Author:leedaning
This article address: http://blog.csdn.net/leedaning/article/details/74762476

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.