因为自带php5.5是compiled with module API=20121212,所以redis.so也要compiled with module API=20121212才能用
本文#来源gaodai.ma#com搞##代!^码7网
搞代gaodaima码
回复内容:
因为自带php5.5是compiled with module API=20121212,所以redis.so也要compiled with module API=20121212才能用
我用的是centos和php 7。
安装了redis不代表就有了php的redis扩展,需要自己手动编译redis的php扩展。
供题主参考。