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