0
我已经使用homebrew
安装了MongoDB,并且还安装了php mongo驱动程序,并将其包含在当前php版本的MAMP包中。但是,当我开始MAMP这个错误是在我的PHP错误日志:无法初始化MAMP上的mongoDB模块
PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20100525
PHP compiled with module API=20121212
These options need to match
in Unknown on line 0
我试图与这毫安文件夹内运行phpize重新编译驱动程序,但得到了同样的结果。一般来说,我对mac和* nix环境很陌生,有什么我失踪的?
通过自制安装了PHP版本是5.5.17
和PHP版本在我的MAMP包装是5.5.14