来源:https://segmentfault.com/q/1010000007947970

PHP Warning:  PHP Startup: redis: Unable to initialize module
Module compiled with build ID=API20131226,NTS
PHP    compiled with build ID=API20131226,NTS,debug
These options need to match
 in Unknown on line 0

解决方法:在后面加 参数--build-from-source

brew install php56-redis --build-from-source

 Tags : MAC php redis

Donate:| 文章有帮助,可以 请我喝杯咖啡

Powered by foxwho.com