简体   繁体   中英

How to install Mongodb to WAMP

I would like to install Mongodb driver to Wamp so according the documentation I have downloaded mongo driver from this site and stored it in php/ext directory as the picture shows 在此处输入图片说明 also in php.ini extension is included like next picture shows 在此处输入图片说明 but php_error.log still shows me an error: [07-Nov-2018 09:33:56 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb' (tried: c:/wamp64/bin/php/php7.2.4/ext/mongodb (The specified module could not be found.), c:/wamp64/bin/php/php7.2.4/ext/php_mongodb.dll (The specified procedure could not be found.)) in Unknown on line 0

What am I doing wrong? Is there misssing something?

确保在php.ini,已下载的.dll体系结构(与您的计算机兼容)等方面进行更改后重新启动Apache,如果错误仍然存​​在,请尝试执行此Reference ,我遇到了类似的问题,并且我需要添加一些内容.dll文件(与mongo .dlls无关,是的,这很奇怪!)从PHP安装到Apache bin目录。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM