Skip to content

ini file doesn't exist under /etc/php/8.1/mods-available #327

@MacSim75

Description

@MacSim75

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug confirmedBug reproduced and qualifiedinformationIssue still active to avoid duplicate (information about deprecated version, workaround, doc...)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions