Raise min php version required 5.3 -> 5.6 in install.php
This commit is contained in:
parent
78f3b0aee5
commit
f49c3c7a47
|
@ -8,8 +8,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Check PHP version
|
// Check PHP version
|
||||||
if (version_compare(phpversion(), '5.3', '<')) {
|
if (version_compare(phpversion(), '5.6', '<')) {
|
||||||
$errorText = 'Current PHP version '.phpversion().', you need > 5.3.';
|
$errorText = 'Current PHP version '.phpversion().', you need > 5.6.';
|
||||||
error_log('[ERROR] '.$errorText, 0);
|
error_log('[ERROR] '.$errorText, 0);
|
||||||
exit($errorText);
|
exit($errorText);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue