1// Report all PHP errors
2error_reporting(E_ALL);
3//or
4error_reporting(-1);
5//or
6error_reporting(0);
1//PHP functions
2ini_set('display_errors', 1);
3ini_set('display_startup_errors', 1);
4error_reporting(E_ALL);
5
6//.htaccess
7php_flag display_startup_errors on
8php_flag display_errors on
9php_flag html_errors on
10php_flag log_errors on
11php_value error_log /home/path/public_html/domain/PHP_errors.log
1// Report simple running errors
2error_reporting(E_ERROR | E_WARNING | E_PARSE);