”;
Install MongoDB database
Follow the MongoDB installation steps using MongoDB – Environment Setup
Install PHP
Follow the PHP installation steps using PHP 7 – Environment Setup
PHP MongoDB Driver
To use MongoDB with PHP, you need to use MongoDB PHP driver. Download the driver from the url Download PHP Driver. Make sure to download the latest release of it. Now unzip the archive and put php_mongo.dll in your PHP extension directory (“ext” by default) and add the following line to your php.ini file −
extension = php_mongo.dll
In case of Windows, make sure libsasl.dll is in the windows”s PATH. This dll is available in PHP installation directory.
Advertisements
”;