use old remi repo code example Example: remi repo yum install https://rpms.remirepo.net/enterprise/remi-release-8.rpm