- EL-8 provides PHP 7.4 (full distro life support) and 8.0
- EL-9 provides PHP 8.0 (full distro life support) and 8.1
“remi repository” provides PHP 7.4 to 8.3 as base packages (modules) and as Software Collections.
I’m using Rocky Linux 8.8 and searching the internet I found that you can update your PHP version to 8.1 via the REMI repository with this command:
# dnf install php81
No (excepted if you want multiple versions)
I have some questions:
The first is if this command would overwrite my current version of PHP to 8.1-4? I have run the command and it only tells me that it updates a few PHP modules, should I manually update the modules that don’t update or are compatible?
For a proper repository configuration and usage, follow the Wizard instructions
https://rpms.remirepo.net/wizard/
The current version is 8.1.23
The second is if you plan to upgrade PHP to 8.1 from Rocky Linux 8.8 or if PHP 8.1 only works with Rocky Linux 9
More versions may come later as new streams (following Red Hat)
P.S. Please also remember that “remi repository” has its own support sites (IRC, forum, discord, github…)