GithubHelp home page GithubHelp logo

扩展包支持范围是大于5.6就行,但是alibabacloud依赖包guzzlehttp确要求7以上,所以5.6的版本安装这个依赖报错 about openapi-sdk-php-client HOT 5 CLOSED

aliyun avatar aliyun commented on August 29, 2024
扩展包支持范围是大于5.6就行,但是alibabacloud依赖包guzzlehttp确要求7以上,所以5.6的版本安装这个依赖报错

from openapi-sdk-php-client.

Comments (5)

 avatar commented on August 29, 2024
  • PHP 版本:5.6
  • 平台:linux
  • 产品名称:短信服务
  • 产品版本:dev-master
  • API:SendMessageToGlobe

syntax error, unexpected ':', expecting '{' /vendor/guzzlehttp/guzzle/src/functions.php  LINE: 16

您好,约束是^6.3|^7.0,请回复本地的版本和composer客户端版本。

from openapi-sdk-php-client.

AxiosLeo avatar AxiosLeo commented on August 29, 2024

依赖包是不是拷贝过去的?如果是通过 composer 安装,composer 会基于当前 PHP 环境,选择兼容的 guzzlehttp 6.* 版本的。

from openapi-sdk-php-client.

bafeiyu avatar bafeiyu commented on August 29, 2024

依赖包是不是拷贝过去的?如果是通过 composer 安装,composer 会基于当前 PHP 环境,选择兼容的 guzzlehttp 6.* 版本的。

感谢,知道是什么原因了。我本地安装php是7.3版本的

from openapi-sdk-php-client.

bafeiyu avatar bafeiyu commented on August 29, 2024

微信图片_20201015152849

使用5.6版本的已经安装不上了

from openapi-sdk-php-client.

AxiosLeo avatar AxiosLeo commented on August 29, 2024

�删除 composer.lock 文件后,再安装试试

from openapi-sdk-php-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.