Error installing mongodb on laragon php stack
-
Hi,
I've tried installing mongodb on the php stack by following the steps in the referenced thread.
So I downloaded the zip from mongodb, extracted it to bin/mongodb.
I also installed the mongodb PHP extension.
But when I try to start mongodb I get the error message:Service MongoDB can not start. Reason:
The system cannot find the path specified
-
When I try to start mongodb directly in the laragon terminal, the dbpath seems to be pointing to "C:\data\db\". So that is not the right path.
But when I look in the configuration file mongod.conf the dbpath is actually configured correctly. So I don't understand where he gets the wrong path from.
-
@tleicher : Strange. Let me check and get back to you soon.
-
I have installed the mean stack on top of the wamp stack and now it works.
-
@tleicher : I'm glad to hear that. Cheers!
-
@tleicher
How to install mean stack on top of wamp stack?Can anyone help with instructions to install mongodb on laragon please...
-
I just downloaded both the WAMP install file, the MEAN install file and installed them both.
-
@tleicher That's not a correct solution because "WAMP stack " should be independent to "MEAN stack ", well, that's what I think.
The problem @leokhoa is that MongoDB not take (or load) mongod.conf file, I was able start MongoDB 4.0 from the windows console using this command:
C:\laragon\bin\mongod\bin\mongod.exe --config mongod.conf
Please check this in WAMP Laragon. I'm using Laragon 3.5.