Skip to content

Enable remi modules during upgrade from CentOS 7 to 8 #45

@bathomas

Description

@bathomas

Remi provides repos for CentOS 7 and 8. In 8, the repos are modular. If a repo for a specific PHP version e.g. 7.4, has been enabled (remi-php74), remi should be enabled and the equivalent PHP module should be installed during the upgrade. Currently, PHP is downgraded from 7.4 to 7.2 in favour of the default.

On AlmaLinux 8.9, the following will enable 7.4 from the CLI:

yum install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
yum update
dnf config-manager --set-enabled remi
dnf module reset php
dnf module install php:remi-7.4

This will need to be implemented in code (example) rather than config files.

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