I'm using the basic MAMP on Mac, and PHP doesn't display errors, I already changed PHP and Apache configuration but still, can someone help me?
First of all make sure that you are editing the right file. MAMP usually creates several php.ini files. Call
phpinfo() and check the path to the correct php.ini.
In your php.ini you need to set the following:
display_errors = on error_reporting = E_ALL
Don't forget to restart Apache after the changes.