Install: Update minimum PHP version required to 8.1

pull/5671/head
Yannick Warnier 4 months ago
parent 59076f1830
commit 9967ebdf4a
  1. 6
      public/main/inc/lib/api.lib.php
  2. 1
      public/main/install/index.php

@ -37,7 +37,7 @@ use Chamilo\CoreBundle\Component\Utils\ObjectIcon;
*/
// PHP version requirement.
define('REQUIRED_PHP_VERSION', '8.0');
define('REQUIRED_PHP_VERSION', '8.1');
define('REQUIRED_MIN_MEMORY_LIMIT', '128');
define('REQUIRED_MIN_UPLOAD_MAX_FILESIZE', '10');
define('REQUIRED_MIN_POST_MAX_SIZE', '10');
@ -49,9 +49,9 @@ define('STUDENT', 5);
define('COURSEMANAGER', 1);
/** global status of a user: session admin */
define('SESSIONADMIN', 3);
/** global status of a user: human ressource manager */
/** global status of a user: human resources manager */
define('DRH', 4);
/** global status of a user: human ressource manager */
/** global status of a user: anonymous visitor */
define('ANONYMOUS', 6);
/** global status of a user: low security, necessary for inserting data from
* the teacher through HTMLPurifier */

@ -146,6 +146,7 @@ $upgradeFromVersion = [
'1.11.22',
'1.11.24',
'1.11.26',
'1.11.28',
];
$my_old_version = '';

Loading…
Cancel
Save