回复内容:
因为自带php5.5是compiled with module API=20121212,所以redis.so也要compiled with module API=20121212才能用
我用的是centos和php 7。
安装了redis不代表就有了php的redis扩展,需要自己手动编译redis的php扩展。
供题主参考。
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!