During early development of a PHP application or to debug a problem, errors should be displayed in-browser to help spot typos, undefined variables, misconfiguration, and other logic flaws.
php_flag display_errors On
php_value error_reporting 9999999
Some applications may use a separate configuration value to enable/disable debugging. This in turn will toggle the above settings on or off within the application through ini_set. Refer to your application’s manual for specific instructions.