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
Also there is a template saved in MAMP of the php.ini
.
Go to File > Edit Template > PHP > Your Version
.
There are two php.ini
files on MAMP. You should change both php.ini
files.
Applications/MAMP/bin/php/'php version you are using(php5.5.10)'/conf/php.ini
Applications/MAMP/conf/php/'php version you are using(php5.5.10)'/conf/php.ini
Then change:
display_errors = Off
to:
display_errors = On
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
Windows: 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.
Change the setting in your php.ini
file. The file is located in MAMP > conf > php5 > php.ini
Look for display_errors = Off
and change to display_errors = On
After that you need to restart your Apache and MySQL servers for the change to take effect.