the requested linked library openssl has the wrong

2019-04-27 01:30发布

问题:

I recently ran composer update and this is the error I get:

  • namshi/jose 5.0.2 requires lib-openssl * -> the requested linked library openssl has the wrong version installed or is missing from your system, make sure to have the extension providing it

.

I am using MAMP. How may I get this fixed ? I tried upgrading the openssl version on my mac as some stack overflow answers said , but no luck

which openssl 

shows

/usr/local/bin/openssl


openssl version 

shows

OpenSSL 1.0.2h  3 May 2016

回答1:

The final conclusion was to UNINSTALL MAMP , and then install apache,mysql and php using brew (it took me less than 5 minutes to set up all three). Then installation of 3rd party packages(including openssl) was a breeze.

Overall it took me 10 minutes, and I would say its worth it.