have i installed correctly?

53 views
Skip to first unread message

Dylan Tucker

unread,
Feb 25, 2017, 11:16:41 AM2/25/17
to mongodb-user
Hi all - 

I've installed rockmongo, and am running it from MAMP, which is running php 5.6 

I've installed mongo for php using homebrew, which can be seen here in this php info file:

php info

But when I try to load RockMongo, I get this error: 

To make things right, you must install php_mongo module. Here for installation documents on PHP.net.

Are these two (the fact i have it installed) and the error in direct contradiction with each other, or is there some sort of helper file or other library or something I've forgotten?

Thanks

Jeremy Mikola

unread,
Feb 26, 2017, 5:22:29 AM2/26/17
to mongod...@googlegroups.com
RockMongo depends on the legacy mongo extension (http://pecl.php.net/package/mongo) and you have the new mongodb extension installed (http://pecl.php.net/package/mongodb). I believe the Homebrew package names are consistent with those extension names, so you can try installing php56-mongo. Alternatively, you may want to try https://github.com/alcaeus/mongo-php-adapter, which is a PHP library that implements the legacy extension's API on top of the new extension.

Thanks

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/43a4d27f-2462-48e0-ac07-324088f32f2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages