Php 7与laravel 5.5.40 mongo db laravel提供者问题

时间:2018-05-07 08:12:53

标签: php mongodb laravel composer-php

任何人都对下面的问题有所了解,所以请建议我:

composer update jenssegers/mongodb

Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

问题1

    - Conclusion: remove laravel/framework v5.5.40
    - Conclusion: don't install laravel/framework v5.5.40
    - jenssegers/mongodb v3.4.0 requires illuminate/database ^5.6 -> satisfiable
 by illuminate/database[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.3, v5.6.4, v5.6.5
, v5.6.6, v5.6.7, v5.6.8, v5.6.9]

1 个答案:

答案 0 :(得分:0)

删除您的composer.lock文件并打开composer.json。 将laravel版本更改为5.6。* 然后再次执行sudo composer安装。 这将解决你的问题。

快乐编码。