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..
There are 19 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:


