MongoDB bannerMongoDB banner

The end goal here is to configure MongoDB & PHP on a WAMP dev box.

1. Setting up MongoDB

Download and install MongoDB 7.0 Community Edition from https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-7.0.11-signed.msi

I chose a full installation including MongoDB Compass. The installation seemed to get stuck on the Compass section of the process, so I cancelled the installation. The result of this was that it installed Compass and not MongoDB itself. I simply ran the install again, de-selecting Compass this time.

Add MongoDB to your Windows System Path variableC:\Program Files\MongoDB\Server\7.0\bin

2. Configuring MongoDB

MongoDB must be running on your PC. Open a command window or PowerShell and type mongod

Here is a great tutorial: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-windows/


References:

  1. Mongodb.com. (2023) Install MongoDB Community Edition on Windows. Available at: https://www.mongodb.com/docs/manual/tutorial/install-mongodb-on-windows/ (Accessed: 29 March 2023).

By MisterFoxOnline

Mister Fox AKA @MisterFoxOnline is an ICT, IT and CAT Teacher who has just finished training as a Young Engineers instructor. He has a passion for technology and loves to find solutions to problems using the skills he has learned in the course of his IT career.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.