The end goal here is to configure MongoDB & PHP on a WAMP dev box.
In this post:
Required knowledge:
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 variable: C:\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:
- 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).