title: How do I enable error reporting in PHP (MAMP)?
body: <p>So I'm running MAMP on my Mac since I was unable to change my htdocs location to a directory on a local server (no problem to use that local server with MAMP though)</p>
  
  <p>Somehow, php error reporting is disabled for me.
  I used phpinfo(); to find the right ini file (which is located at "Applications ▸ MAMP ▸ bin ▸ php ▸ php5.6.10 ▸ conf" in my case) and changed <strong>display_errors</strong> from "off" to <strong>"on"</strong> (without the " " of course)</p>
  
  <p><strong>error_reporting</strong> is set to <strong>E_ALL</strong></p>
  
  <p>However, when I now run phpinfo(); again, Display errors is still turned off.</p>
  
  <p>I have also tried to override those values in the php code without success.</p>
  
  <p><strong>Apparently MAMP  overrides the modified php.ini everytime it starts. Source:</strong> <a href="https://stackoverflow.com/a/16154605/2667307">https://stackoverflow.com/a/16154605/2667307</a></p>