I have MAMP PRO php 5.6.2 and MongoDB 2.6.7
I do anything what was write here http://lukepeters.me/blog/setting-up-mongodb-with-php-and-mamp , but no result. I have run sudo pecl install mongo
, I have mongo.so
in /Applications/MAMP/bin/php/php5.6.2/lib/php/extensions/no-debug-non-zts-20131226/
, but again no result.
我解决了它,php版本有问题,你需要将php版本更改为5.5.18
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.