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.