Install PHP 8.1 on Centos / RHEL 7 Server
- Install Remi Repository
[root@testsvr01 ~]# yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
[root@testsvr01 ~]# yum -y install yum-utils
- Enable PHP 8.1 Repo
root@testsvr01 ~]# yum-config-manager --enable remi-php81
- Install PHP
[root@testsvr01 ~]# yum install php -y