$ composer update 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 - jenssegers/mongodb v3.3.1 requires mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.2.0, 1.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 v3.3.0 requires mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.2.0, 1.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 v3.3.1 requires mongodb/mongodb ^1.0.0 -> satisfiable by mongodb/mongodb[1.2.0, 1.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]. - mongodb/mongodb 1.2.0 requires ext-mongodb ^1.3.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.1.2 requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.1.1 requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.1.0 requires ext-mongodb ^1.2.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.0.5 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.0.4 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.0.3 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.0.2 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.0.1 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.0.0 requires ext-mongodb ^1.1.0 -> the requested PHP extension mongodb is missing from your system. - mongodb/mongodb 1.2.0 requires ext-mongodb ^1.3.0 -> the requested PHP extension mongodb is missing from your system. - Installation request for jenssegers/mongodb ^3.3 -> satisfiable by jenssegers/mongodb[v3.3.0, v3.3.1]. To enable extensions, verify that they are enabled in your .ini files: - /usr/local/etc/php/7.1/php.ini - /usr/local/etc/php/7.1/conf.d/php-memory-limits.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
问题是,mongoDB扩展没有安装我们过时的。
检查留档为您的操作系统安装mongoDB:https://secure.php.net/manual/en/mongodb.setup.php
并确保在php中启用了扩展。ini,通过检查:
extension=mongodb.so
如果您正在使用的系统与代码将运行的系统不同,并且这就是您没有安装扩展的原因,那么您也可以选择忽略平台要求。
我用的是拉威尔作曲家。我正在加载way/generators包,当我运行composer update时,会出现以下错误: 加载具有包信息更新依赖项的composer存储库(包括require dev) 致命错误:内存中允许的内存大小536870912字节已用尽(尝试分配67108864字节)phar:///usr/local/Cellar/composer/1.0.0-alpha8/libexe
在mac电脑上安装composer时,使用: curl-sShttps://getcomposer.org/installer|php 然后试着像这样移动它: sudo mv php composer.phar/usr/local/bin/composer 它在告诉我: 将composer.phar重命名为/usr/local/bin/composer:没有这样的文件或目录 当我展望我的道路时:
我试图更新作曲家,但得到错误 以下是错误日志的链接:https://pastebin.com/JNT7Wi15 Laravel版本:5.4 Php版本:PHP7.2。4-1乌本图16。04.1黛布。苏里。org 1(cli)(构建时间:2018年4月5日08:53:57)(NTS)版权所有(c)1997-2018 PHP Group Zend Engine v3。2.0,版权所有(c)1998-2
我使用的是Laravel5.2。当我在CLI上执行composer update命令时。这是产生以下按摩 无需安装或更新生成自动加载文件 照明\Foundation\ComposerScripts-::后更新php工匠优化生成优化的类加载器 我不能更新我的当前版本,或者这是一个错误我是新来的拉威尔
今天我运行的和更新打破了我的网站完全。我在php.log发现了以下信息: 72.15.153.139--[11/Nov/2015:21:01:45 -0500]"GET/HTTP/1.1"500 - "-" "Mozilla/5.0(Windows NT 6.1; WOW64; rv: 42.0)Gecko/20100101 Firefox/42.0"[Wed Nov11 21:01:48 201
当我跑的时候 作曲家抱怨我所有的libs都被修改了——尽管我没有碰它们。 正在更新jdorn/sql-formatter(dev-master 3d8a973= 注意:我从远程存储库中提取了项目。 会不会是编码过程中搞砸了? 如何解决这个问题?