By default display_error on MAMP 2.0.5 is off, in my opinion it would be useful for me to turn it on for development phase of my application. This is how to enable display_error
- Find MAMP directory under Application Directory
- Go to MAMP\bin\php\
- Open PHP folder that you are using
- Then open \bin\conf\php.ini under your PHP folder
- Find
error_reporting
line, and make sure as “error_reporting = E_ALL
“ - Find
display_errors = Off
, and change it todisplay_errors = On
- Save then restart your MAMP
- Done