{"id":566,"date":"2010-03-31T01:38:58","date_gmt":"2010-03-31T01:38:58","guid":{"rendered":"http:\/\/www.phpmind.com\/blog\/?p=566"},"modified":"2010-07-17T01:35:44","modified_gmt":"2010-07-17T01:35:44","slug":"how-to-enable-error-reporting-in-mamp","status":"publish","type":"post","link":"https:\/\/www.phpmind.com\/blog\/2010\/03\/how-to-enable-error-reporting-in-mamp\/","title":{"rendered":"How to enable error reporting in MAMP ?"},"content":{"rendered":"<p><strong>In MAMP by default error_reporting is turned off. This is how you can enable all errors!<\/strong><\/p>\n<p>1. Find your \u2018MAMP\u2019 directory in \u2018Applications\u2019<\/p>\n<p>2. Find \u2018conf\u2019 and open it up..<\/p>\n<p>3. Open up php4 or php5 (depending on your enabled version)<\/p>\n<p>4. Line 270 should be something like this:<br \/>\nerror_reporting = E_ALL<\/p>\n<p>5. Line 277 will be:<br \/>\ndisplay_errors = Off<\/p>\n<p>Change this to:<br \/>\ndisplay_errors = On<\/p>\n<p>6. Restart servers<\/p>\n<p>Ready to go !!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In MAMP by default error_reporting is turned off. This is how you can enable all errors! 1. Find your \u2018MAMP\u2019 directory in \u2018Applications\u2019 2. Find \u2018conf\u2019 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[23],"tags":[],"class_list":["post-566","post","type-post","status-publish","format-standard","hentry","category-mamp"],"_links":{"self":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/comments?post=566"}],"version-history":[{"count":8,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/566\/revisions"}],"predecessor-version":[{"id":841,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/posts\/566\/revisions\/841"}],"wp:attachment":[{"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/media?parent=566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/categories?post=566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phpmind.com\/blog\/wp-json\/wp\/v2\/tags?post=566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}