How to get PHP errors to show up in MAMP
If your installation of MAMP does not show php errors, you may need to change a setting in your php.ini file. You can find this file in MAMP > conf > php5 > php.ini
Look for “display_errors = Off” and change to “display_errors = On”
After that you should restart your apache and mysql servers.
Related posts: