mac 安装memcache扩展问题

执行php -i 报错:php

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

解决办法:html

1.brew search memcached
2.重装加上 —build-from-source
brew reinstall -v homebrew/php/php56-memcached --build-from-source
相关文章
相关标签/搜索