The problems is with your script, not Ubuntu or Linux, read the error message again. Call to undefined function mysqli_report()