如何在el capitan上使用openssl的升级版本

时间:2016-08-17 01:10:43

标签: php macos openssl homebrew

我正在尝试使用installation tutorial在OS X El Capitan上安装Composer,但我收到错误:

Composer successfully installed to: /Users/dmytrokomar/composer.phar
Use it: php composer.phar
Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:

The OpenSSL library (0.9.8zc) used by PHP does not support TLSv1.2 or TLSv1.1.
If possible you should upgrade OpenSSL to version 1.0.1 or above.

所以我表演了:

  

brew更新

     酿造医生

     

brew upgrade openssl

之后openssl version -a显示:OpenSSL 1.0.2h 3 May 2016

但我仍然先得到错误;(

0 个答案:

没有答案