Skip to content

[ubi10/php-84] Unable to compile PECL extensions for PHP 8.4 #537

Open

Description

@Trix3x

Container platform

Podman/Docker

Version

ubi10/php-84

OS version of the container image

RHEL 10

Bugzilla, Jira

No response

Description

When attempting to install or compile PECL extensions within the registry.access.redhat.com/ubi10/php-84 container image, running dnf install php-devel installs header files and development scripts for PHP 8.3 instead of PHP 8.4. => php-devel.x86_64 8.3.33-1.el10_2

Because php-devel for PHP 8.4 is missing or not correctly mapped in the UBI 10 repositories, compiling C extensions against the installed 8.3 headers creates binary modules that fail at runtime when loaded into the PHP 8.4 CLI/FPM process (resulting in ABI mismatches and undefined symbol errors).

Image for fedora does not have this problem and properly loads php-devel => php-devel.x86_64 8.4.26-1.fc43

Reproducer

podman run --rm --user root registry.access.redhat.com/ubi10/php-84:latest bash -c "
  echo '=== PHP packages installed ==='
  rpm -qa | grep php | sort

  echo '=== php-devel available ==='
  dnf list php-devel 2>/dev/null | grep php-devel || echo 'NOT FOUND'

  echo '=== pecl ==='
  which pecl 2>/dev/null || echo 'NOT FOUND'

  echo '=== try pecl install timezonedb ==='
  which pecl 2>/dev/null && echo | pecl install timezonedb 2>&1 | tail -5 || echo 'SKIPPED - no pecl'
"

result:

=== php-devel available ===
php-devel.x86_64        8.3.33-1.el10_2         ubi-10-for-x86_64-appstream-rpms
=== pecl ===
NOT FOUND
=== try pecl install timezonedb ===
SKIPPED - no pecl

Activity

  1. pkubatrh commented on Oct 13, 2026

    @pkubatrh
    Member

    Hi @Trix3x thanks for the report.

    You are correct that the rpms seem to be missing from the UBI repositories. Let me check if I can nudge this along.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions