How to get the version of mongodb from php
I need a way to display a version of Mongo database in the php website.
For example, I want to show something like "powered by MongoDB version
2.2.6"
I cannot find a way to find out the version of database that php
mongoClient is connected to.
I'm sure that is a way to do this. Does anyone know how?
No comments:
Post a Comment