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

How to install Redis extension in PHP7?

Guanhui
Release: 2023-02-17 15:34:02
Original
3056 people have browsed it

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
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template