Saturday, November 9, 2013

My answer to "WAMP + Mongo"

This is my answer to a Question on Support site for LampCMS project


You need to download the mongo extension .dll file for windows
Here are basic instructions:
http://www.php.net/manual/en/mongo.installation.php#mongo.installation.windows

Another source for these dll files is here
https://github.com/mongodb/mongo-php-driver/downloads

Make sure you download the right version - 32bit or 64bit version depending on your system. If one does not work try another one.

It took me awhile to find the driver that actually worked on my PC and now I don't even remember which one I ended up using. The point is - you may try several different .dll files

Just try one, restart your Apache and launch the file that only has phpinfo(); like it it
Look for the output of that file in browser to see if Mongo section is present. If not then the dll file did not work, try another one, restart Apache and repeat.

No comments:

Post a Comment