As I already mentioned in the article Configuring Apache with PHP-FPM in CentOS/RHEL 7, PHP-FPM is a much more efficient to handle large volumes of queries. In this article we will see how to configure it in Ubuntu.
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.
PHP is one of the most widespread web programming languages on the Internet. There are currently three versions in active support, 7.1, 7.2, 7.3 and 7.4 which was released on November 28, 2019. It is advisable to always use the most stable version new, in this case it is 7.4, however, we can install any of these three versions on our system.
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.