brew安装php56时出现curl错误--使用cgi
在运行以下命令之后,我在OSX Yosemite上得到了一个curl错误。我可以在其他系统中使用brew,但不能用于php56。我可以从brew安装php56时出现curl错误--使用cgi,curl,homebrew,Curl,Homebrew,在运行以下命令之后,我在OSX Yosemite上得到了一个curl错误。我可以在其他系统中使用brew,但不能用于php56。我可以从https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror但不是通过卷曲。我怎样才能解决这个问题 brew tap homebrew/dupes brew tap homebrew/versions brew tap homebrew/homebrew-php brew options php56 br
https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror
但不是通过卷曲。我怎样才能解决这个问题
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/homebrew-php
brew options php56
brew install --with-cgi php56
==> Installing php56 from homebrew/homebrew-php
==> Downloading https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror
curl: (60) SSL certificate problem: Invalid certificate chain
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
Error: Failed to download resource "php56"
Download failed: https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror
我最终所做的只是暂时的 然后运行我的可信
brew安装
,然后
最后别忘了回到安全的地方
echo insecure >> ~/.curlrc