安装步骤
1.git clone -b php7 https://github.com/phpredis/phpredis.git
2.cd phpredis
3.phpize
4../configure
5.make && make install
6.找到apache2下面的php.ini然后增加extension=redis.so
7.重启apache2 然后在phpinfo中查看
1.git clone -b php7 https://github.com/phpredis/phpredis.git
2.cd phpredis
3.phpize
4../configure
5.make && make install
6.找到apache2下面的php.ini然后增加extension=redis.so
7.重启apache2 然后在phpinfo中查看