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_mongo.dll in your PHP extension directory ("ext" by default).
Add the following line to your php.ini file:
extension=php_mongo.dll
Коментарии
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.
Try using:
extension=php_mongodb.dll
instead and restarting the xammp server for php
also download the correct .dll for your version of php
you can check your version of php with index.php and inside adding
<?php
phpinfo();
>