Upgrading to PHP 82

SYSTEM INFORMATION
OS type and version Centos 7.9
Webmin version 2.101
Virtualmin version 7.7 pro
Related packages PhP 8.2

I am trying to update add version 8.2 (keeping older previous versions for now). I tried using the instructions found at Multiple PhP Versions, but when I try to use install the Remi Repository using …
. /etc/os-release && dnf -y install https://rpms.remirepo.net/enterprise/remi-release-$(rpm -E %$ID).rpm && dnf clean all

I get a return of …
-bash: dnf: command not found

I’m not sure what I’m doing wrong here. Is there some other way to install the newest version?

Replace dnf with yum, does the same thing. DNF is centos 8 or later.

1 Like

Thank you! It seems like I should have known that!

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.