Raise min php version required 5.3 -> 5.6 in install.php

This commit is contained in:
Anaggh S 2019-05-18 23:41:32 +05:30
parent 78f3b0aee5
commit f49c3c7a47
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@
*/
// Check PHP version
if (version_compare(phpversion(), '5.3', '<')) {
$errorText = 'Current PHP version '.phpversion().', you need > 5.3.';
if (version_compare(phpversion(), '5.6', '<')) {
$errorText = 'Current PHP version '.phpversion().', you need > 5.6.';
error_log('[ERROR] '.$errorText, 0);
exit($errorText);
}