当我尝试在Ubuntu上运行Composer安装18.04时,我得到了:
The "https://packagist.org/packages.json" file could not be downloaded: SSL
operation failed with code 1. OpenSSL Error messages:
error:1408F10B:SSL routines:ssl3_get_record:wrong version number
Failed to enable crypto
failed to open stream: operation failed
我在我的/etc/apt/apt.conf和/etc/profile上获得了Rigth代理配置,但是错误不断,没有Mather我的工作。
使用作曲家所需的代理配置位于/etc/enviroment文件中。
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
http_proxy="http://username:password@10.4.1.20:3128"
https_proxy="http://username:password@10.4.1.20:3128"