您当前的位置: 首页 >  ssl

彭世瑜

暂无认证

  • 3浏览

    0关注

    2791博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection

彭世瑜 发布时间:2022-06-26 13:26:58 ,浏览量:3

使用HomeBrew安装PHP的时候报错:

$ brew install php@8.0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.bytereef.org:443
Error: php@8.0: Failed to download resource "python@3.9--patch"
Download failed: https://www.bytereef.org/contrib/decimal.diff
处理方式

手动下载软件包到缓存目录

# 查看缓存目录
$ brew --cache
/Users/user/Library/Caches/Homebrew

# 查看详细日志
$ brew install php@8.0 -v
Downloading https://www.bytereef.org/contrib/decimal.diff
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl 
--disable 
--cookie /dev/null 
--globoff --show-error 
--user-agent Homebrew/3.5.2-156-gf1d04b4\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 10.14.4\)\ curl/7.54.0 
--header Accept-Language:\ en 
--fail 
--retry 3 
--location 
--remote-time 
--output /Users/user/Library/Caches/Homebrew/downloads/f60b5004541eb3c87cce87ef3bf94933a2684ab267346afdc45ae1622ffa923a--decimal.diff.incomplete 
https://www.bytereef.org/contrib/decimal.diff

# 手动下载到缓存目录
wget https://www.bytereef.org/contrib/decimal.diff \
-O /Users/user/Library/Caches/Homebrew/downloads/f60b5004541eb3c87cce87ef3bf94933a2684ab267346afdc45ae1622ffa923a--decimal.diff

# 再次安装的时候就可以使用本地缓存
brew install php@8.0 -v
关注
打赏
1665367115
查看更多评论
立即登录/注册

微信扫码登录

0.0551s