Arthur Guiot Arthur Guiot - 1 year ago 115
Apache Configuration Question

PHP doesn't display errors on MAMP

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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download