Applications/mamp/bin/php
Keep two versions of php
Keep backup of your PHP versions or PHP folder
Restart your pc
Option shift down arrow
Click the file and press Return button
Get php ini location from phpinfo()
Add and restart mamp
extension= mcrypt or something. Google.
Ignore installation erro as it indicates system php ini. Not the mamp php ini
Command H
Shift Command G
Try cd /Applications
Not cd /Applications/
User root
Pass root
Host localhost:8888