我也在我的php.ini中安装了mongoDB扩展,但它仍然显示以下错误,有人能帮助我吗?
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- mongodb/mongodb 1.1.2 requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your syst艾米。- mongodb /mongodb1.1.1需要ext-mongodb^1.2.0 ->你的系统中缺少请求的PHP扩展mongodb。- mongodb /mongodb1.1.0需要ext-mongodb^1.2.0 ->你的系统中缺少请求的PHP扩展mongodb。- mongodb /mongodb1.0.5需要ext-mongodb^1.1.0 ->你的系统中缺少请求的PHP扩展mongodb。- mongodb /mongodb1.0.4需要ext-mongodb^1.1.0 ->你的系统中缺少请求的PHP扩展mongodb。- mongodb /mongodb1.0.3需要ext-mongodb^1.1.0 ->你的系统中缺少请求的PHP扩展mongodb。- mongodb /mongodb1.0.2需要ext-mongodb^1.1.0 ->你的系统中缺少请求的PHP扩展mongodb。- mongodb /mongodb1.0.1需要ext-mongodb^1.1.0 ->你的系统中缺少请求的PHP扩展mongodb。- mongodb /mongodb1.0.0需要ext-mongodb^1.1.0 ->你的系统中缺少请求的PHP扩展mongodb。- jenssegers/mongodb v3.2.0需要mongodb/mongodb^1.0.0 ->,mongodb/mongob1.0.0,1.0.1,1.0.2,1 .0.3,1.0.4,1.0.5,1.1.0,1.1.1,1.1.2。- jenssegers/mongodb 3.2.* ->安装请求,jenssegers/mongobv3.2.0可以满足。
要启用扩展,请验证它们是否在您的.ini文件中启用:- C:\Program Files (x86)\iis express\PHP\v5.5\php.ini您还可以在php --ini模式下运行PHP inside终端来查看哪些文件是由express\PHP\v5.5\php.ini使用的。
发布于 2017-04-17 21:28:36
您似乎没有安装正确的MongoDB扩展。
根据您的应用程序运行的操作系统,您可以相应地安装MongoDB扩展。http://php.net/manual/en/mongodb.installation.php
https://stackoverflow.com/questions/42326128
复制相似问题