Re-enabling error reporting in MAMP
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..
If you enjoyed this post:
Please take the time to leave a comment with any of your thoughts, follow me on Twitter or subscribe to my RSS Feed for automatic updates on all future posts.
There are 38 responses to this post so far
-
Eli Sand wrote: -
Eli Sand wrote: -
Jim wrote: -
peter wrote: -
otto gutschein wrote: -
frank wrote: -
frank wrote: -
john wrote: -
marxista wrote: -
Wes wrote: -
Shane wrote: -
Hammy wrote: -
SoC: AtomPub Week 4 Status · cavemonkey50.com wrote: -
Joachim wrote: -
Josh wrote: -
Mash wrote: -
simon wrote: -
Dean wrote: -
abc@abc.com wrote: -
Rui Covelo wrote: -
Max wrote: -
Pinto wrote: -
bujisky wrote: -
NeptĂșnus Hirt wrote: -
Dan Nicholls wrote: -
Chris wrote: -
viopico wrote: -
Zack wrote: -
Joe Elliott wrote: -
Andrew wrote: -
yc wrote: -
Kit MacAllister wrote: -
Pieter wrote: -
Andrew wrote: -
vlado wrote: -
Constant Meiring wrote:

