From 75836f004dddeef9b4e5aed783c91d1376a6c927 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 10 Apr 2020 13:25:12 +0200 Subject: [PATCH] Show setup check for recommended php modules Fixes #20393 Signed-off-by: Roeland Jago Douma --- apps/settings/lib/Controller/CheckSetupController.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index e386f29a94..e2f48b1070 100644 --- a/apps/settings/lib/Controller/CheckSetupController.php +++ b/apps/settings/lib/Controller/CheckSetupController.php @@ -584,6 +584,14 @@ Raw output $recommendedPHPModules[] = 'intl'; } + if (!extension_loaded('bcmath')) { + $recommendedPHPModules[] = 'bcmath'; + } + + if (!extension_loaded('gmp')) { + $recommendedPHPModules[] = 'gmp'; + } + if ($this->config->getAppValue('theming', 'enabled', 'no') === 'yes') { if (!extension_loaded('imagick')) { $recommendedPHPModules[] = 'imagick';