bump required php version to 5.6

This commit is contained in:
Andrew Dolgov 2018-08-13 16:04:09 +03:00
parent 069aea5989
commit 848c6ac655
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@
array_push($errors, "Please don't run this script as root.");
}
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
array_push($errors, "PHP version 5.4.0 or newer required.");
if (version_compare(PHP_VERSION, '5.6.0', '<')) {
array_push($errors, "PHP version 5.6.0 or newer required.");
}
if (CONFIG_VERSION != EXPECTED_CONFIG_VERSION) {