]> source.dussan.org Git - nextcloud-server.git/commitdiff
Show setup check for recommended php modules 20421/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 10 Apr 2020 11:25:12 +0000 (13:25 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 10 Apr 2020 11:25:12 +0000 (13:25 +0200)
Fixes #20393

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
apps/settings/lib/Controller/CheckSetupController.php

index e386f29a94e676384a8ab5d35e25602fd7cd145f..e2f48b10706f144fcc65057460f395563cae9695 100644 (file)
@@ -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';