php报错: PHP Warning: PHP Startup: memcache: Unable to initialize module


在mac上通过brew 安装php的memcache扩展(brew install php56-memcache)后运行

~  php -m
PHP Warning:  PHP Startup: memcache: 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

Warning: PHP Startup: memcache: 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

报了这样的警告信息

 

解决:

brew remove php56-memcache

brew install php56-memcahe --build-from-source


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM