确认已安装的openssl的版本和位置

$ which openssl

查看当前版本

$ openssl version

brew安装openssl

macopensslphpMAC OS应用技能26安装OpenSSL Bootstrap

$ brew install openssl

brew更新openssl

$ brew upgrade openssl

brew逼迫链接到openssl

$ brew link openssl --force