Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bathomas opened this issue Mar 17, 2024 · 0 comments
Open

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

bathomas opened this issue Mar 17, 2024 · 0 comments

Comments

@bathomas
Copy link
Contributor

bathomas commented Mar 17, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant