Skip to content
Snippets Groups Projects
Unverified Commit 6558867c authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #17772 from seamuslee001/dev_core_1860

#1860 Fix installing on PHP7.3 Ubuntu 20.04 and MariaDB 10.3
parents bd9d587a af89d33b
Branches
Tags
No related merge requests found
......@@ -1069,8 +1069,14 @@ class InstallRequirements {
return TRUE;
}
else {
$testDetails[2] .= "{$majorHas}.{$minorHas}.";
$this->error($testDetails);
$versionDetails = mysqli_query($this->conn, 'SELECT version() as version')->fetch_assoc();
if (version_compare($versionDetails['version'], $min) == -1) {
$testDetails[2] .= "{$majorHas}.{$minorHas}.";
$this->error($testDetails);
}
else {
return TRUE;
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment