---

How to Install PHP on CentOS

In this tutorial, we’re going to show you how to install PHP on CentOS. Beginner-friendly, step-by-step instructions on how to install different versions of PHP on different versions of CentOS.

All PHP versions included by default in CentOS 7 and 8 are outdated and over their EOL. This tutorial shows you how to install PHP 8.