在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