Home > Database > Redis > body text

What is the method to install Redis extension for Linux in PHP7.2

WBOY
Release: 2023-05-31 12:46:06
forward
1058 people have browsed it

Copy the link address, download, decompress, compile and install

[root@zzming soft]# wget http://pecl.php.net/get/redis-4.2.0.tgz
[root@zzming soft]# tar -xzvf redis-4.2.0.tgz
[root@zzming soft]# cd redis-4.2.0
[root@zzming redis-4.2.0]# phpize
[root@zzming redis-4.2.0]# ./configure --with-php-config=/usr/local/php7.2/bin/php-config
[root@zzming redis-4.2.0]# make && make install
Copy after login

./configure --with-php-config=/usr/local/php7.2/bin/php-config Be sure to read this code clearly php7.2 or php

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

Related labels:
source:yisu.com
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!