softwares arent developed with the newest and the best environments in mind. people want them to be used widely so it is delibrately made with a lower version of a software. Thats why they have this Module thing where you can change your app version by yourself, and use a lower version of something by yourself.
now what is annoying is that a) some of them is by default b) version might be too low and c) people dont know this stuff.
so to fix it:
List modules:
dnf module list --all
–all can also be –enabled disabled installed available
a list appears that looks like this:
php 7.2 [d] common [ PHP scripting language
d], deve
l, minim
al
php 7.3 common [ PHP scripting language
d], deve
l, minim
al
php 7.4 common [ PHP scripting language
d], deve
l, minim
al
php 8.0 common [ PHP scripting language
d], deve
l, minim
al
i use remi repo so i enabled defaulted a module there but you can see the [d] and the [e] that happens to be on your damn screen
to change things, do
sudo dnf module switch-to php:8.0
notice (package name):(version)
you can also enable things so it appears on dnf list install search
sudo dnf module enable php:8.0
the thing is smart it will tell you what to do
Now changing modules one thing changing a repo is a whole nother.
however im getting dumber im using webmin to manage this stuff
comment below!