aliyun / alibabacloud-php-sdk

36 stars 18 forks source link

包版本冲突 #7

Closed williamqian closed 5 months ago

williamqian commented 3 years ago

image

imvkmark commented 11 months ago

没有人解决这个问题

  Problem 1
    - alibabacloud/tea-oss-utils 0.3.1 requires guzzlehttp/psr7 ^1.0 -> found guzzlehttp/psr7[1.0.0, ..., 1.9.1] but the package is fixed to 2.6.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - alibabacloud/oss-20190517[1.0.3, ..., 1.0.4] require alibabacloud/openapi-util ^0.1.10 -> found alibabacloud/openapi-util[0.1.10, 0.1.11, 0.1.12, 0.1.13] but the package is fixed to 0.2.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - alibabacloud/oss-20190517[1.0.0, ..., 1.0.2] require alibabacloud/gateway-spi ^0.0.1 -> found alibabacloud/gateway-spi[0.0.1] but the package is fixed to 1.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - alibabacloud/oss-20190517 1.0.5 requires alibabacloud/gateway-oss ^0.0.9 -> satisfiable by alibabacloud/gateway-oss[0.0.9].
    - alibabacloud/gateway-oss 0.0.9 requires alibabacloud/tea-oss-utils ^0.3.1 -> satisfiable by alibabacloud/tea-oss-utils[0.3.1].
    - Root composer.json requires alibabacloud/oss-20190517 * -> satisfiable by alibabacloud/oss-20190517[1.0.0, ..., 1.0.5].
TsinghuaDream commented 5 months ago

alibabacloud/oss-20190517 1.0.5已无此问题,不过门户的oss SDK还在内部优化,建议先使用oss自研的PHP SDK https://help.aliyun.com/zh/oss/developer-reference/php-1/?spm=a2c4g.11174283.0.0.7ca5de538vxWxv