OK this is getting very frustrating. MAMP used to display errors but then stopped. I decided to do a fresh install of it as I couldn\'t figure it out. I check my PHP version
If you are using MAMP version 3.2.2 then you only need to change one php.ini file:
Mac: Applications/MAMP/conf/'(php7.0.9)'/php.ini
Applications/MAMP/conf/'(php7.0.9)'/php.ini
Windows: C:\MAMP\conf\PHP Version you use'(php7.0.9)'\php.ini
C:\MAMP\conf\PHP Version you use'(php7.0.9)'\php.ini
I know this is an old post but MAMP keeps changing their configuration of the files so I hope this helps.