mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
setting required PHP version to 7.2 and recommended to 7.3
This commit is contained in:
parent
efcb0471b3
commit
1b002165c4
@ -14,7 +14,6 @@
|
||||
* @author Ralf Becker <RalfBecker-AT-outdoor-training.de>
|
||||
* @package api
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @version $Id$
|
||||
*/
|
||||
|
||||
use EGroupware\Api\Session;
|
||||
@ -30,7 +29,7 @@ if (function_exists('get_magic_quotes_runtime') && get_magic_quotes_runtime())
|
||||
set_magic_quotes_runtime(false);
|
||||
}
|
||||
|
||||
$egw_min_php_version = '5.6';
|
||||
$egw_min_php_version = '7.2';
|
||||
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!");
|
||||
|
@ -64,13 +64,13 @@ class setup
|
||||
*
|
||||
* @var float
|
||||
*/
|
||||
var $required_php_version = 5.6;
|
||||
var $required_php_version = 7.2;
|
||||
/**
|
||||
* PHP Version recommended for eGroupware
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
var $recommended_php_version = '7.0';
|
||||
var $recommended_php_version = '7.3';
|
||||
|
||||
function __construct($html=False, $translation=False)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user