时间:2021-07-01 10:21:17 帮助过:66人阅读
描述你的问题
跑composer selfupdate
的时候报错了。
贴上报错信息
The "https://getcomposer.org/composer.phar" file could not be downloaded: SSL: crypto enabling timeout
Failed to enable crypto
failed to open stream: operation failed```
已经用lantern可以翻墙了。但是更新还是出错。
描述你的问题
跑composer selfupdate
的时候报错了。
贴上报错信息
The "https://getcomposer.org/composer.phar" file could not be downloaded: SSL: crypto enabling timeout
Failed to enable crypto
failed to open stream: operation failed```
已经用lantern可以翻墙了。但是更新还是出错。
1.save ca-bundle.crt to your local path
2.double click ca-bundler.crt
to import it
3.add the two line to php.ini
curl.cainfo=d:/download/ca-bundle.crt
openssl.cafile=d:/download/ca-bundle.crt
4.try to install composer-setup.exe agin.
refer to:https://github.com/composer/composer/issues/2798
lantern只是对浏览器有效吧
lantern mac上只是打开一个网页吗