Php report error send failure

based on travis-fixes