1. git clone https://github.com/nicolasff/phpredis
2. 首先git clone 项目到本地,切换到phpredis目录下

phpize 
./configure
make
makeinstall

  

3 . 在PHP.INI 配置文件中添加一条extension = redis.so
4 . 重启php service php-fpm7.0 restart

相关文章:

  • 2021-11-01
  • 2021-08-24
  • 2021-11-28
  • 2021-10-07
  • 2021-07-28
  • 2021-05-30
  • 2021-07-24
猜你喜欢
  • 2021-06-14
  • 2021-09-30
  • 2021-12-18
  • 2021-12-18
  • 2021-12-18
  • 2022-01-11
  • 2021-09-20
  • 2021-12-18
相关资源
相似解决方案