Just paste the given below file in a .htaccess file and put it in a web directory(generally root) and see the magic, dont forget to provide a log file at the end if you want to store all errors.
php_value error_reporting 2047
php_flag display_errors false
php_flag display_startup_errors false
php_flag log_errors true
php_value log_errors_max_len 100M
php_flag html_errors false
php_value log.txt ../log