diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-04-10 13:25:12 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-04-10 13:25:12 +0200 |
commit | 75836f004dddeef9b4e5aed783c91d1376a6c927 (patch) | |
tree | b2e840ec555e4302ddc9d1055fa2eb0af2d9422e /apps/settings | |
parent | d6e17fb01777866674129a5883c03642f4bfd4a5 (diff) | |
download | nextcloud-server-75836f004dddeef9b4e5aed783c91d1376a6c927.tar.gz nextcloud-server-75836f004dddeef9b4e5aed783c91d1376a6c927.zip |
Show setup check for recommended php modules
Fixes #20393
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/lib/Controller/CheckSetupController.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php index e386f29a94e..e2f48b10706 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'; |