'The 'php_mongodb.dll' extension file exists but there is no 'extension=php_mongodb.dll' line in php.ini

i am new to MongoDB. I want to set up the MongoDB for PHP using Wamp. I have tried the step given. I have installed MongoDB 5 and also Wamp 3.2 with PHP version 7.2

Also download the PHP Library for Mongo DB is php_mongodb-1.8.1.

Then I have put that file in wamp\bin\php\php7.4.26\ext folder of PHP 7.4 Folder and then i have changed the php.ini file added the line below

extension=php_mongodb.dll

Can someone guide me how can i set it up in my wamp server so that i can make a project using php and mongodb?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source