[[ Add MongoDB extension to PHP in windows ]]
Download(http://pecl.php.net/package/mongodb) the appropriate Non Thread Safe MongoDB extension based on your PHP version.
Extract the downloaded archive and put php_mongodb.dll in your PHP extension directory (“ext” by default).
Now, add the following line to your php.ini file:
That’s all. you can check using phpinfo() function that now MongoDB extension is available.