I enter this command on the command-line of a fresh CentOS 8
sudo dnf --enablerepo=remi php74-php
and I receive this error
Error: Unknown repo: 'remi'
How to fix this?
You need to enable remi repository first.
sudo dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm