I switched my local install over to php 7 and when I tried to navigate to my ee install it threw a mysqli_connection.php error, that said this:
SQLSTATE[HY000] [2002] No such file or directory
It seems MAMP doesn't create the correct file for php 7 to work correctly.