
Next, accept the licence agreement then click Next.Ħ. Next, just live every this as they are and click on the download button as shown below.Ģ. Next, navigate to the downloaded MongoDB setup file, double click on it to start the installation process.Ĥ. Go to then click on the Server tab to download MongoDB MSI. Note: Default address of mongodb server is 127.0.0.1 and default port is 27017.

Add extension=php_mongodb.dll in php.ini and save it.Now open php.ini by clicking Config and then click on PHP(php.ini) in XAMPP control panel.Unzip that zip file and copy php_mongodb.dll to your xampp\php\ext directory.I have installed xampp in D: drive so my path will be D:\xampp\php\ext. I am going to download 7.2 Thread Safe (TS) x86 because I have windows 10 64bit. Goto and download driver according to your windows and php version.My PHP version is 7.2 with thread safety enabled. Check your current PHP version and also check that it is Thread Safe or not.Steps: Install Mongodb Driver for PHP 7 on XAMPP How to install Laravel 5.6 on windows using XAMPP.


I usually use xampp for my local development which have php 7.2 version. But we didn’t see how mongodb will connect to php. Share on Facebook Share on Twitter Share on LinkedinĪs we have seen in my earlier post that how to install and run mongodb on windows 10.
