From 2e541fe5b03336967b4b1f1c47c31bc117505e1f Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Thu, 22 May 2025 09:58:26 +0700 Subject: [PATCH 1/2] MDL-84918 core: Add initial environment requirements for Moodle 5.1 --- admin/environment.xml | 192 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 192 insertions(+) diff --git a/admin/environment.xml b/admin/environment.xml index 0d6f278cb42..8f1e2049964 100644 --- a/admin/environment.xml +++ b/admin/environment.xml @@ -4897,4 +4897,196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From f597c8bc2d31e0a0486314513114461599a77778 Mon Sep 17 00:00:00 2001 From: David Woloszyn Date: Wed, 30 Apr 2025 14:41:10 +1000 Subject: [PATCH 2/2] MDL-84918 core: Add zend.exception_ignore_args environment check --- admin/environment.xml | 5 +++++ lang/en/admin.php | 1 + 2 files changed, 6 insertions(+) diff --git a/admin/environment.xml b/admin/environment.xml index 8f1e2049964..1e05329b721 100644 --- a/admin/environment.xml +++ b/admin/environment.xml @@ -5010,6 +5010,11 @@ + + + + + diff --git a/lang/en/admin.php b/lang/en/admin.php index 99830ae6fd6..2cc45aad5af 100644 --- a/lang/en/admin.php +++ b/lang/en/admin.php @@ -1271,6 +1271,7 @@ $string['settingmaxinputvars'] = 'PHP setting max_input_vars is recommended to b $string['settingmaxinputvarsrequired'] = 'PHP setting max_input_vars must be at least 5000.'; $string['settingmemorylimit'] = 'Insufficient memory detected, please set higher memory limit in PHP settings.'; $string['settingsafemode'] = 'Moodle is not fully compatible with safe mode, please ask server administrator to turn it off. Running Moodle under safe mode is not supported, please expect various problems if you do so.'; +$string['settingzendexceptionignoreargs'] = 'It is strongly recommended that the PHP setting zend.exception_ignore_args be enabled as a security precaution.'; $string['setupsearchengine'] = 'Setup search engine'; $string['showcommentscount'] = 'Show comments count'; $string['showdetails'] = 'Show details';