mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
MDL-63276 install: PHP min version checker bump to PHP 7.1
This commit is contained in:
parent
504d1a9cc0
commit
422947e070
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ function moodle_minimum_php_version_is_met($haltexecution = false) {
|
||||||
// PLEASE NOTE THIS FUNCTION MUST BE COMPATIBLE WITH OLD UNSUPPORTED VERSIONS OF PHP.
|
// PLEASE NOTE THIS FUNCTION MUST BE COMPATIBLE WITH OLD UNSUPPORTED VERSIONS OF PHP.
|
||||||
// Do not use modern php features or Moodle convenience functions (e.g. localised strings).
|
// Do not use modern php features or Moodle convenience functions (e.g. localised strings).
|
||||||
|
|
||||||
$minimumversion = '7.0.0';
|
$minimumversion = '7.1.0';
|
||||||
$moodlerequirementchanged = '3.4';
|
$moodlerequirementchanged = '3.7';
|
||||||
|
|
||||||
if (version_compare(PHP_VERSION, $minimumversion) < 0) {
|
if (version_compare(PHP_VERSION, $minimumversion) < 0) {
|
||||||
if ($haltexecution) {
|
if ($haltexecution) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue