PHP is an open-source programming language that is embedded in HTML. It is mainly used for creating dynamic web sites such as blogs, e-commerce sites, etc. Rasmus Lerdorf created it in 1994.
CentOS 8 / RHEL 8 comes with PHP v7.2 by default.
In this post, we will see how to install PHP 8.0 on CentOS 8 / RHEL 8.
Remi, a third-party repository that offers multiple PHP versions (8.0 / 7.4 / 7.3 / 7.2) for Red Hat Enterprise Linux.
Remi repository requires EPEL repository be enabled on the system. So, install the latest EPEL repository auto-configuration rpm on the system to enable the EPEL repository.
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Then, install the Remi repository auto-configuration package using the below command.
dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
#centos/redhat #post #centos 8 #php