set required PHP version for master/17.1 to 5.6, recommended version to 7.0 and add 7.1 to Travis checks

This commit is contained in:
Ralf Becker
2017-08-18 10:22:52 +02:00
parent 8dba9967e3
commit c244e72017
3 changed files with 7 additions and 17 deletions

View File

@ -30,7 +30,7 @@ if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
set_magic_quotes_runtime(false);
}
$egw_min_php_version = '5.4';
$egw_min_php_version = '5.6';
if (!function_exists('version_compare') || version_compare(PHP_VERSION,$egw_min_php_version) < 0)
{
die("EGroupware requires PHP $egw_min_php_version or greater.<br />Please contact your System Administrator to upgrade PHP!");