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

相关文章
相关标签/搜索