Enable PHP display_error on MAMP 2.0.5

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

  1. Find MAMP directory under Application Directory
  2. Go to MAMP\bin\php\
  3. Open PHP folder that you are using
  4. Then open \bin\conf\php.ini under your PHP folder
  5. Find error_reporting line, and make sure as “error_reporting = E_ALL
  6. Find display_errors = Off, and change it to display_errors = On
  7. Save then restart your MAMP
  8. Done

Leave a Reply

Your email address will not be published. Required fields are marked *