Can't configure php mongo driver on mac os MAMP PRO

I have MAMP PRO php 5.6.2 and MongoDB 2.6.7

I do everything I wrote here http://lukepeters.me/blog/setting-up-mongodb-with-php-and-mamp but no result. I ran 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 there is no result.

+3


source to share


1 answer


I solved it, there was a problem with the php version, you just need to change the php version to 5.5.18



0


source







All Articles