Skip to content

Php 8.3 fails on EL8 (Rocky 8, Alma 8, Centos8) #1371

Open

Description

@cdbessig

EL8 has outdated build tools

We ran into an issue with php 8.3 not being able to be compiled due to outdated build tools in the el8 line.

Basically, this issue: php/php-src#12774

I got around this by:

dnf install gcc-toolset-13
scl enable gcc-toolset-13 bash
phpbrew install -j $(nproc) php-8.3.7 +default +dbs +intl +gd +iconv +imap +openssl=/usr -- --with-libdir=lib64 --with-imap=/usr/lib64/ --with-kerberos --enable-debug

Essentially this installed an appstream of the newer toolset, then starts a bash with the newer toolset and then I ran the install from the bash that has the newer toolset.

Activity

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