Update OpenSSL on OS X with Homebrew

前端 未结 8 1540
天命终不由人
天命终不由人 2020-11-22 02:04

I\'m using MacOS X 10.7.5 and I need a newer OpenSSL version due to handshake failures. There are several tutorials on the internet and I tried the following:



        
8条回答
  •  闹比i
    闹比i (楼主)
    2020-11-22 02:52

    I had problems installing some Wordpress plugins on my local server running php56 on OSX10.11. They failed connection on the external API over SSL.

    Installing openSSL didn't solved my problem. But then I figured out that CURL also needed to be reinstalled.

    This solved my problem using Homebrew.

    brew rm curl && brew install curl --with-openssl
    
    brew uninstall php56 && brew install php56 --with-homebrew-curl --with-openssl
    

提交回复
热议问题