Installing the MongoDB PHP Driver on Windows

Precompiled binaries for each release are available from » PECL for a variety of combinations of versions, thread safety, and VC libraries. Extract the archive and put php_mongodb.dll in your PHP extension directory ("ext" by default).

Add the following line to your php.ini file:

extension=php_mongodb.dll

User Contributed Notes

fsziller at gmail dot com 27-Sep-2017 11:06
Hey,

I got this error:
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\\Program Files (x86)\\EasyPHP-Webserver-14.1b2\\binaries\\php\\ext\\php_mongodb.dll' - The specified module could not be found.\r\n in Unknown on line 0

PHP: Server PHP 7.1 (Thread Safety  Enable) + Windows 2012R2
We did this download
(https://pecl.php.net/package/mongodb/1.3.0/windows)

Here i can conect with MySQL and SQL Server, but this MongoDb not yet.
Xylon Reyes 12-Aug-2016 11:12
With the newer version of MongoDB, this should be...

extension=php_mongodb.dll

(the filename of the latest stable release at PECL)

Official MongoDB library are available at GitHub as well as its documentation.

Precompiled binaries are also available at GitHub for the legacy and the newer version.
Anonymous 20-Apr-2016 11:18
for new version, extension=mongo.dll  is over date,

extension=mongodb.dll       is right