From the mind of Jamie Huskisson: From a freelance UK PHP developer, to managing director, to lead developer

Re-enabling error reporting in MAMP

Posted on February 9th, 2007 in ,

For some reason error reporting is turned off by default in MAMP.. So this is how to re-enable it to how it should be.

1. Find your ‘MAMP’ directory in ‘Applications’

2. Find ‘conf’ and open it up..

3. Open up php4 or php5 (depending on your enabled version)

4. Line 270 should be something like this:
error_reporting = E_ALL

5. Line 277 will be:
display_errors = Off

Change this to:
display_errors = On

6. Restart servers

And voila! We have PHP errors..

There are 19 responses to this post so far

Feel free to use any of the following tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>