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();
>
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
Note: Additional DLL dependencies for Windows Users
Afin de faire fonctionner cette extension, quelques bibliothèques DLL doivent être disponibles via le PATH du système Windows. Lisez la F.A.Q intitulée "Comment ajouter mon dossier PHP à mon PATH Windows" pour plus d'informations. Le fait de copier les bibliothèques DLL depuis le dossier PHP dans le dossier système Windows fonctionne également (car le dossier système est par défaut dans le PATH système), mais cette méthode n'est pas recommandée. Cette extension nécessite que les fichiers suivants se trouvent dans le PATH : libsasl.dll
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();
>
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.