I keep receiving this error (from the apache log) and I cannot get the php_mongo.dll module loaded with the 32bit versions of both mongo and wamp.
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.5/ext/php_mongo.dll' - The specified module could not be found.\r\n in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.5/ext/php_mongo.dll' - The specified module could not be found.
in <b>Unknown</b> on line <b>0</b><br />
Whats most frustrating is the fact that I can see the file sitting in the exact directory the error message is telling me it can't find it! I've rechecked the php.ini edits were correct, but I still can't get the module to load when php starts up. Any ideas what the '\r\n in Unknown on line 0' may correspond to?
php 5.3.5 apache 2.2.17 windows 7
Thanks!
You can add the driver to your application to work with MongoDB in PHP. The MongoDB PHP Driver consists of the two following components: The extension , which provides a low-level API and mainly serves to integrate libmongoc and libbson with PHP.
Make sure you use the thread safe version of the mongodb extension plugin. I stumbled upon the exact same errors while using the non-thread-safe versions.
To download the right extension, see: http://www.php.net/manual/en/mongo.installation.php#mongo.installation.windows
Most likely you'll need the VC9 (Thread Safe) version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With