Webinstaller complains about missing GD module, but GD is enabled

setup-nextcloud.php complains on step 2:

Dependencies not found.
The following PHP modules are required to use Nextcloud:
* GD

But this is not the case:

php -i | grep GD
GD Support => enabled
GD headers Version => 2.2.5
GD library Version => 2.2.5

Nextcloud version: 13.0.3
Operating system and version: 4.16.13-2-ARCH
Apache or nginx version: 2.4.33-3
PHP version: 7.2.6

I restarted the apache server several times, but it did not help.

Is this the first time you’ve seen this error? Y

Apache is not logging any errors.

The installer form the package also complains:


    PHP-Modul GD nicht installiert.

    Bitte für die Installation des Moduls Deinen Server-Administrator kontaktieren.

    PHP-Module wurden installiert, werden aber als noch fehlend gelistet?

    Bitte kontaktiere Deinen Server-Administrator und bitte um den Neustart des Webservers.

I tried this (according to https://docs.nextcloud.com/server/13/admin_manual/installation/source_installation.html)

php -m | grep -i GD

The module is also listed by checking it on that way.

In both cases I recognized the message is displaying GD with capital letters.

Do the installer check the the module maybe case sensitive?

dpkg --list | grep GD