PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, March 14, 2022

[FIXED] From within MAMP: The OpenSSL library (0.9.8zc) used by PHP does not support TLSv1.2 or TLSv1.1

 March 14, 2022     macos, mamp, openssl, osx-yosemite, php     No comments   

Issue

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.

I see similar questions like this were asked before, but not about this issue from within MAMP. I get this after a fresh install of MAMP on OSX Yosemite 10.10.5

also, echo $PATH

chendeMacBook-Air:MAMP doudou$ echo $PATH /usr/local/bin:/Users/doudou/progs:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/DevDesktop/drush

Already put more than an hour on this. Any help appreciate, Thanks.


Solution

phpinfo() says OpenSSL version is 1.0.2j, not 0.9.8zc. Don't know where that warning is coming from. That comes up after installing composer in MAMP. I don't understand how it's looking up OpenSSL version installed on my machine. Anyway, I think it's good to leave this here to help out others that might face the same problem. The ton of other threads on upgrading OpenSSL in MAMP isn't relevant. At least I hope I'm right about this so I don't waste another 2 hours in the bushes.



Answered By - naim5am
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing