卷曲错误:OpenSSL SSL_read:SSL_ERROR_SYSCALL,错误54

时间:2017-04-21 10:37:35

标签: php macos curl openssl

我一直收到此错误,我正在运行OS X,PHP71,Apache 2.4,OpenSSL

php -i | grep“SSL Version”返回SSL Version =>的OpenSSL / 1.0.2k

PHP和CURL的安装方式如下:

$ brew install --with-openssl curl

$ brew install --with-homebrew-curl --with-httpd24 php71

2 个答案:

答案 0 :(得分:1)

我遇到了这个问题,经过几次重试后每次下载都恢复正常。

一个猜测-但这可能是由于WiFi不稳定以及下载过程特别不利于此。

我住在一栋砖砌的建筑物中,砖砌的砖中含铅...这很粗糙...

答案 1 :(得分:0)

I just had the same problem. In case someone else runs into this, I got it working with:

vagrant box add laravel/homestead -c --insecure

Options used:

-c or --clean Clean any temporary download files

--insecure Do not validate SSL certificates

Or maybe you need turn on ur VPN.