This is a example to explain how to use MongoDb with Php. In this post I will explain how to download and start MongoDb. Next you can run the Phonebook aplication.
Download MongoDb
http://www.mongodb.org/downloads
For this example I tested 2.0.0 version for linux
Start MongoDb
Extract the file anywhere, and in mongodb-x-x-x directory create 'data' directory. Next run:
[terminal]
$ ./bin/mongod --dbpath data
* 'data' is the name of directory for save data
Run Phonebook example
Download: http://www.mediafire.com/?mqncj9lsjrts3jx
And extract to /var/www/ the application
Next go to http://localhost/MongoPhoneBook/
Enjoy!
1 comment:
buenas porquero.. instale nuevamente ubuntu.. y estoy dando el jugo de siempre no puedo intalar la tajeta de video.. e intale envy y no me funciono.. ..
si tienes algun dato se agradeceria..
Post a Comment