Username
Forgot password?
Welcome to our site!
Or Join with FTTF

WAMP + Mongo

0

1542 views
Hello

How i can install lampcms at local way with wamo and how install mongo at wamp too.

Thank you
 
asked November 5, 2013 at 4:40 PM

 mx

3 Answers

0
 
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.
flag
answered November 9, 2013 at 10:34 AM
0
 
Thank you so much.

Know my problem is at install php driver mongo.dll, i already intalled as extension on the carpet and rewrite the php.ini (the folder apache one) but still sending the next message:

"Unable to use this program because PHP mongo extension not loaded. Make sure your php has mongo extension enabled. Exiting"

what can i do?

thanks
flag
answered November 7, 2013 at 10:37 AM
0
 
I have wamp + mongo running on my local PC. That's basically my development environment.
You install them separately.
Download Mongodb for Windows, install it, then start it from command line by just launching the mongod from bin directory from the command prompt. Do not just click on mongod file - you must instead open command prompt, cd into the directory where mongod file is located and start it by just typing mongod
Do not close the prompt - just keep it opened for as long as you want your mongo server to run.

You may need to pre-create the c:/data/db directory on your computer. That's where mongo stores database files by default.

Read instructions just to be sure:
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/


Then configure your WAMP server using sample config file in Lampcms distribution. In Lampcms in config/!config.ini edit the 'server' setting in MONGO section, like this:
server = "mongodb://127.0.0.1:27017"

That should work for your local mongodb server.
flag
answered November 6, 2013 at 5:13 AM

Your answer

Join with account you already have

FTTF

Preview

Alert