How to Install PHP 8 on CentOS/RHEL 8/7

How to Install PHP 8 on CentOS/RHEL 8/7

How to Install PHP 8 on CentOS/RHEL 8/7. In this guide, you will learn how to install PHP 8.0 on CentOS 8/7 and RHEL 8/7. PHP 8.0 is finally out and was released on November 26th, 2020. This article will describe you to how to install PHP 8 on CentOS 8 or RHEL 8 Linux system.

PHP is a popular open-source server-side scripting language that is integral in developing dynamic webpages. PHP 8.0 is finally out and was released on November 26th, 2020. It promises lots of improvements and optimizations which are set to streamline how developers write and interact with PHP code.

In this guide, you will learn how to install PHP 8.0 on CentOS 8/7 and RHEL 8/7.

Step 1: Enable EPEL and Remi Repository on CentOS/RHEL

Right off the bat, you need to enable the EPEL repository on your system. EPEL, short for Extra Packages for Enterprise Linux, is an effort from the Fedora team that provides a set of additional packages that are not present by default on RHEL & CentOS.

Step 2: Install PHP 8 on CentOS/RHEL

Step 3: Verify PHP 8.0 on CentOS/RHEL

Step 3: Install PHP 8.0 Extensions in CentOS/RHEL

centos php redhat centos tips php tips rhel tips

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How to Install Lighttpd with PHP and MariaDB on CentOS/RHEL 8/7

Lighttpd is an secure, fast, flexible and more optimized web server designed for speed-critical environments with low memory usage as compared to other web servers.

23 CentOS Server Hardening Security Tips - Part 2

Continuing the previous tutorial on how to secure CentOS 8/7, in this article we'll discuss other security tips that will be presented on the below checklist.

Install Docker and Learn Basic Container Manipulation in CentOS and RHEL 8/7 - Part 1

In this 4-article series, we will discuss Docker, which is an open-source lightweight virtualization tool that runs at top of Operating System level, allowing users to create, run and deploy applications, encapsulated into small containers.

How to Install Multiple CentOS/RHEL Servers Using FTP Network Sources

This tutorial will demonstrate how you can install RHEL/CentOS 8/7 on multiple servers via an FTP Network Source as a single source point using minimal ISO image.

How to Install PHP Extensions on CentOS 8

This tutorial covers the installation of the PHP extension phpredis via the default CentOS 8 package manager DNF. It will also cover the installation of both PHP 7.4 and Redis on CentOS 8.