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

Iva*_*tic 5 php macos curl openssl

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

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

PHP和CURL的安装如下:

$ brew install --with-openssl curl

$ brew install --with-homebrew-curl --with-httpd24 php71
Run Code Online (Sandbox Code Playgroud)

Ama*_*lah 0

如果它发生在安装 homestead laravel 时,那么以下命令解决了我的问题:

流浪盒添加 laravel/homestead https://atlas.hashicorp.com/laravel/boxes/homestead

而不是仅: vagrant box 添加 laravel/homestead

谢谢阿曼乌拉