0

I would like to install Mongodb driver to Wamp so according the documentation I have downloaded mongo driver from this site and stored it in php/ext directory as the picture shows enter image description here also in php.ini extension is included like next picture shows enter image description here but php_error.log still shows me an error: [07-Nov-2018 09:33:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb' (tried: c:/wamp64/bin/php/php7.2.4/ext/mongodb (The specified module could not be found.), c:/wamp64/bin/php/php7.2.4/ext/php_mongodb.dll (The specified procedure could not be found.)) in Unknown on line 0

What am I doing wrong? Is there misssing something?

Čamo
  • 3,863
  • 13
  • 62
  • 114

1 Answers1

0

Make sure to restart Apache after make changes in php.ini, the architeture from .dll you have downloaded (compatible with your machine) etc, if the error persist, try this Reference, i had a similar issue, and i needed to put some .dll files (having nothing to do with mongo .dlls, yes it is strange!) from PHP installation to Apache bin directory.. Hope it helps!

Ankology
  • 180
  • 11