PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

Install PHP 7 on CentOS 7

CentOS 7 ships with PHP version 5.4 which has been officially EOL for quite some time and is no longer supported.

By using PHP 7 your applications will load faster and consume less system resources.

In this tutorial, we will explain how to install or upgrade to PHP 7.0. 7.1, 7.2 and 7.3 on a CentOS 7 system. We’ll also show you how to integrate PHP with Nginx and Apache.

Also prior to installing a specific PHP 7.x version make sure that it is supported by your application.