在ubuntu 16.4上安装composer:无法下载文件

时间:2017-03-05 06:17:47

标签: composer-php

安装composer(sudo composer install)时出现此错误 任何人都可以帮助我吗?

Cannot create cache directory /home/tanmay/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache

无法创建缓存目录/home/tanmay/.composer/cache/files/,或者目录不可写。继续进行无缓存

[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded:
SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Failed to enable crypto
failed to open stream: operation failed

0 个答案:

没有答案