php報錯: PHP Warning: PHP Startup: memcache: Unable to initialize module

在mac上經過brew 安裝php的memcache擴展(brew install php56-memcache)後運行 php

~  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 0ui

報了這樣的警告信息debug

 

解決:code

brew remove php56-memcacherem

brew install php56-memcahe --build-from-sourceit

相關文章
相關標籤/搜索