php安装redis扩展过程介绍

一、下载扩展包 命令 cd usr local src wget https: pecl php net get redis-4 0 1 tgz运行二、解压

一、下载扩展包

命令 

cd /usr/local/src/
 
wget https://pecl.php.net/get/redis-4.0.1.tgz

运行

二、解压安装包

命令

tar -zxvf redis-4.0.1.tgz

运行

三、 编译

命令

cd redis-4.0.1
phpize