Show setup check for recommended php modules

Fixes #20393

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2020-04-10 13:25:12 +02:00
parent d6e17fb017
commit 75836f004d
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 8 additions and 0 deletions

View 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';