Only set display_errors=false for console scripts