从pecl下载的phpredis扩展在make时报错,google了一下,解决办法,因为phpredis 有专门为php7的分支,所以先git clone phpredis下来

 

git clone https://github.com/nicolasff/phpredis
git checkout php7
php7/bin/phpize
./configure --with-php-config=php7/bin/php-config
make && make install

 

参考自:http://blog.webfsd.com/article-195.html

相关文章:

  • 2022-03-07
  • 2021-06-23
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-19
猜你喜欢
  • 2021-05-15
  • 2021-07-08
  • 2022-12-23
  • 2021-06-17
  • 2021-05-19
  • 2021-11-20
  • 2021-10-11
相关资源
相似解决方案