I am using thecodingmachine/php:8.1-v4-apache image in my CI.
It was working fine until today - no changes on our side - but I am now having warnings about ini files which doesn't exist under /etc/php/8.1/mods-available when the job tries to enable the mods.
$ sudo phpenmod bcmath gd
WARNING: Module bcmath ini file doesn't exist under /etc/php/8.1/mods-available
WARNING: Module bcmath ini file doesn't exist under /etc/php/8.1/mods-available
WARNING: Module gd ini file doesn't exist under /etc/php/8.1/mods-available
WARNING: Module gd ini file doesn't exist under /etc/php/8.1/mods-available
As the mods can't be enabled, my CI job fails and I am unable to run a composer install after that cause some dependencies are missing :
Problem 1
- drupal/commerce 2.31.0 requires ext-bcmath * -> it is missing from your system. Install or enable PHP's bcmath extension.
Problem 2
- drupal/core 9.4.5 requires ext-gd * -> it is missing from your system. Install or enable PHP's gd extension.
I am using
thecodingmachine/php:8.1-v4-apacheimage in my CI.It was working fine until today - no changes on our side - but I am now having warnings about ini files which doesn't exist under
/etc/php/8.1/mods-availablewhen the job tries to enable the mods.As the mods can't be enabled, my CI job fails and I am unable to run a
composer installafter that cause some dependencies are missing :