无法为流明安装mongodb

时间:2018-05-17 04:46:20

标签: mongodb laravel composer-php lumen

我正在尝试使用作曲家从jenssegers/mongodb安装流明的Mongodb。 php的版本是7.2并安装了mongodb驱动程序并正确添加到php.ini但是我遇到了错误: -

C:\wamp64\www\lumen\blog>composer require jenssegers/mongodb
Using version ^3.4 for jenssegers/mongodb
./composer.json has been updated
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
    - Conclusion: don't install jenssegers/mongodb v3.4.2
    - Conclusion: don't install jenssegers/mongodb v3.4.1
    - Conclusion: remove illuminate/container v5.5.40
    - Installation request for jenssegers/mongodb ^3.4 -> satisfiable by jenssegers/mongodb[v3.4.0, v3.4.1, v3.4.2].
    - Conclusion: don't install illuminate/container v5.5.40
    - jenssegers/mongodb v3.4.0 requires illuminate/container ^5.6 -> satisfiable by illuminate/container[5.6.x-dev, 5.7.x-dev, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
    - Can only install one of: illuminate/container[5.6.x-dev, v5.5.40].
    - Can only install one of: illuminate/container[5.7.x-dev, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.0, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.1, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.10, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.11, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.12, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.13, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.14, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.15, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.16, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.17, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.19, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.2, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.20, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.21, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.22, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.3, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.4, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.5, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.6, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.7, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.8, v5.5.40].
    - Can only install one of: illuminate/container[v5.6.9, v5.5.40].
    - Installation request for illuminate/container (locked at v5.5.40) -> satisfiable by illuminate/container[v5.5.40].


Installation failed, reverting ./composer.json to its original content.

如何解决这个问题?

0 个答案:

没有答案