Search code examples
phpmongodbphp-mongodb

Is it needed to install MongoDB locally to connect a PHP project with a remote MongoDB server?


I am trying to run a PHP project which is connected to a remote MongoDB server on my local machine.

I already made sure that the PHP-mongo.dll extension is installed.

Now, is it necessary for me to install MongoDB locally as well?


Solution

  • You do not need a local MongoDB server. It is possible to do all of the development using Atlas.