Will I be able to connect to this database using PHP's php_mongo.dll driver?
If so, could you please provide some sample code?
Will I be able to connect to this database using PHP's php_mongo.dll driver?
If so, could you please provide some sample code?
MongoDB requires its own driver.
In your case, the PHP driver is located here: http://php.net/manual/en/book.mongo.php
The instructions for installing it are on that page. There is also some sample code.
I think that PDO is only for relational databases. There's no PDO driver for MongoDB.
There is list of databases which you can use with the PDO driver: http://php.net/manual/en/pdo.drivers.php. MongoDB is not among them.
You can use the PHP PDO OBDC library, if you install MongoDB BI Connector and MongoDB ODBC Driver for BI Connector.
I haven’t tried it, but I’m about to - keep you posted.
https://www.mongodb.com/download-center/bi-connector https://docs.mongodb.com/bi-connector/master/reference/odbc-driver/