-
Notifications
You must be signed in to change notification settings - Fork 209
Description
I'm trying to install mongodb-1.4.2 for php 7.0.10 .I have tow version php on wampserver php 5.6.25 & php 7.0.10 .I can install mongodb-1.4.2 for php 5.6.25 but i can not do that for php 7.0.10.
link download driver
I do these :
1-Download .dll file from PEAR Directory, please make sure .dll file must be compatible with your PHP version
Put downloaded .dll file into your PHP extension (\ext) directory, mine xampp location is (C:\wamp64\bin\php\php7.0.10\ext)2-Enable php_mongo.dll extension from you php.ini file, php.ini , Open file and search 'extension=php_mongo.dll', if found remove semi-colon ';' otherwise add 'extension=php_mongo.dll' line to enable mongoDB extension for PHP
3-Restart Wamp server,if you will get error ‘mondo dll file can not found’ that means your .dll file is not compatible with your PHP version
4-After successful installation, please open your php_info file and search mongo if you found mongo as a module that’s mean you have successfully installed mongoDB driver on your wamp