PHP-FPM, or PHP FastCGI Process Manager, is an alternative implementation of PHP FastCGI that can handle a high volume of queries. Combined with PHP 7, PHP-FPM achieves a higher level of performance than any previous version of PHP.
Installing the latest versions of PHP on CentOS/RHEL may not be as easy as it seems since you have to perform certain previous steps. Additionally, each of these versions has a somewhat peculiar installation directory. In this article we will cover all the steps for installing and using PHP versions 5.6, 7.0, 7.1 and 7.2.