阿里云centos7用composer install出问题

问题描述

阿里云服务器用composer install出问题,

问题出现的平台版本及自己尝试过哪些方法

框架是laravel框架,本地测试是没得问题的,但是服务器上就出问题了

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 51 installs, 0 updates, 0 removals

  • Installing ramsey/uuid (3.7.3): Downloading (failed) Failed to download ramsey/uuid from dist: The "https://files.phpcomposer.com/files/ramsey/uuid/44abcdad877d9a46685a3a4d221e3b2c4b87cb76.zip" file could not be downloaded (HTTP/1.1 405 Not Allowed)
    Now trying to download from source
  • Installing ramsey/uuid (3.7.3): Cloning 44abcdad87
  • Installing psr/simple-cache (1.0.1): Downloading (failed) Failed to download psr/simple-cache from dist: The "https://files.phpcomposer.com/files/php-fig/simple-cache/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b.zip" file could not be downloaded (HTTP/1.1 405 Not Allowed)
    Now trying to download from source
  • Installing psr/simple-cache (1.0.1): Cloning 408d5eafb8
  • Installing psr/container (1.0.0): Downloading (failed) Failed to download psr/container from dist: The "https://files.phpcomposer.com/files/php-fig/container/b7ce3b176482dbbc1245ebf52b181af44c2cf55f.zip" file could not be downloaded (HTTP/1.1 405 Not Allowed)
    Now trying to download from source
  • Installing psr/container (1.0.0): Cloning b7ce3b1764
  • Installing symfony/translation (v4.1.1): Downloading (failed) Failed to download symfony/translation from dist: The "https://files.phpcomposer.com/files/symfony/translation/b6d8164085ee0b6debcd1b7a131fd6f63bb04854.zip" file could not be downloaded (HTTP/1.1 405 Not Allowed)
    Now trying to download from source
  • Installing symfony/translation (v4.1.1): Cloning b6d8164085
  • Installing nesbot/carbon (1.31.1): Downloading (failed) Failed to download nesbot/carbon from dist: The "https://files.phpcomposer.com/files/briannesbitt/Carbon/385780c8ca2dbfd25452666e3f55e8dc1df58c41.zip" file could not be downloaded (HTTP/1.1 405 Not Allowed)https://img3.mukewang.com/5c8f3c460001598d08000429.jpg
烙印99
浏览 417回答 4
4回答

哈士奇WWW

同样的问题,本地也遇到了,时好时坏,不知道楼上的老兄怎么解决的!

HUWWW

直接用composer update
打开App,查看更多内容
随时随地看视频慕课网APP