composer需求可以解析为一组可安装的包 - zendframework

时间:2017-04-14 17:47:58

标签: php zend-framework zend-framework2 composer-php

尝试将marketplacephp(marketplacephp.com)部署到localhost。 Composer安装给了我依赖项问题,我花了好几个小时试图调整它们,所以它们无法正常工作。

有没有更有经验的人能够发现如何解决这个问题?

P.S。在Windows和ubuntu 14.04上都尝试了相同的结果。

composer.json

C:\xampp\htdocs\marketplace-dev>composer install
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
    - Installation request for reliv/elfinder 2.0.0-alpha -> satisfiable by reliv/elfinder[2.0.0-alpha].
    - Conclusion: don't install zendframework/zendframework 2.3.9
    - Conclusion: don't install zendframework/zendframework 2.3.8
    - Conclusion: don't install zendframework/zendframework 2.3.7
    - Conclusion: don't install zendframework/zendframework 2.3.6
    - Conclusion: don't install zendframework/zendframework 2.3.5
    - Conclusion: don't install zendframework/zendframework 2.3.4
    - Conclusion: don't install zendframework/zendframework 2.3.3
    - Installation request for zendframework/zend-developer-tools dev-master -> satisfiable by zendframework/zend-developer-tools[dev-master].
    - Conclusion: don't install zendframework/zendframework 2.3.2
    - zendframework/zend-developer-tools dev-master requires zendframework/zend-debug ^2.5 || ^3.0 -> satisfiable by zendframework/zend-debug[2.5.0, 2.5.1].
    - don't install zendframework/zend-debug 2.5.0|don't install zendframework/zendframework 2.3.0
    - don't install zendframework/zend-debug 2.5.1|don't install zendframework/zendframework 2.3.0
    - reliv/elfinder 2.0.0-alpha requires zendframework/zendframework 2.* -> satisfiable by zendframework/zendframework[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9].
    - Conclusion: don't install zendframework/zendframework 2.3.1

输出

SELECT * FROM tmp_reporte_enviadas_sucursal_mensual
    INTO OUTFILE @fullOutputPath 
    FIELDS TERMINATED BY ',' 
    OPTIONALLY ENCLOSED BY '\"';

1 个答案:

答案 0 :(得分:2)

"zendframework/zend-developer-tools": "dev-master"更改为"zendframework/zend-developer-tools": "^1.0"
dev-master仅适用于早期开发时间,但不应长期使用。在这种情况下,开发人员工具的当前主分支具有比项目支持更高的最低要求。

我应该注意,这组依赖关系暗示您尝试安装的软件大约3年没有更新。