11 Mrz
How to use XAMPP with MongoDB and the MongoDB PHP driver
This short tutorial will describe how to use MongoDB together with XAMPP.
It is tested with the following environment:
1. In the first step we have to download XAMPP and MongoDB (together with the PHP driver for MongoDB).
2. Create the directory datadb on your c drive (–> c:\datadb).
3. Unpack the MongoDB zip file to a disired destination
4. Install XAMPP (do not install MySQL as a service)
5. Go into your XAMPP directory (something like xampp\php) and add the following line to the file php.ini
extension=php_mongo.dll
6. Unzip the php_mongo.dll to the follwing directory: xampp\php\ext
7. Start the Apache with the XAMPP Control Center
8. Start MongoDB server ( MongoDBDirectory\bin\mongod.exe )

