執行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