homebrew - curl error with brew install php56 --with-cgi -
after running following commands, curl error on osx yosemite. can use brew in others not php56. can download https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror
not through curl. how can fix problem? in advance.
brew tap homebrew/dupes brew tap homebrew/versions brew tap homebrew/homebrew-php brew options php56 brew install --with-cgi php56 ==> installing php56 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 default, using "bundle" of certificate authority (ca) public keys (ca certs). if default bundle file isn't adequate, can specify alternate file using --cacert option. if https server uses certificate signed ca represented in bundle, certificate verification failed due problem certificate (it might expired, or name might not match domain name in url). if you'd turn off curl's verification of certificate, use -k (or --insecure) option. error: failed download resource "php56" download failed: https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror
what ended doing temporarily disabling certificate verification curl requests by
echo insecure >> ~/.curlrc
then running trusted brew install
, then...
don't forget go safety in end (delete last line ~./curlrc
).
Comments
Post a Comment