Home  >  Article  >  Backend Development  >  How to install Redis extension in PHP7?

How to install Redis extension in PHP7?

Guanhui
GuanhuiOriginal
2020-06-02 17:32:492812browse

How to install Redis extension in PHP7?

How to install Redis extension in PHP7?

First check the PHP version, compiler version and CPU through the function "phpinfo";

How to install Redis extension in PHP7?

Then find the corresponding Redis based on this information Version;

Redis:

##http://windows.php.net/downloads/pecl/releases/redis/

igbinary:

http://windows.php.net/downloads/pecl/releases/igbinary/

Then download and unzip, And put the decompressed file into the ext folder of PHP; finally open it in the PHP configuration.

; php_redis

extension=php_igbinary.dll

extension=php_redis.dll

Recommended tutorial: "

PHP"

The above is the detailed content of How to install Redis extension in PHP7?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn