(How-To) Centos 7 - Upgrade to PHP 5.6, 7.0, 7.1, 7.2 (Remi)

Little update: PHP 7.3 is out and with some changes compared to PHP 7.2 it brings better overall performance. More info you can find HERE.

If you want to upgrade from default PHP 5.4 or some never version just follow my original post as nothing changed.

Just to add to this:
You can change the PHP-FPM versions by doing the following -

Follow the comment made here - https://www.virtualmin.com/comment/782623#comment-782623
Except cd /usr/lib/systemd/system/ and symlink php7 there.

Just followed https://linux4one.com/how-to-install-lemp-stack-on-centos-7/ tutorial for installing LEMP stack on centos a good information is available there related installation of php-fpm also available

Having stumbled through several other so-called “guides” that did not work, this one worked perfectly. thank you so much for creating it. but then again, the fantastic people at webmin/virtualmin consistently deliver the absolute best results, so i should not be so surprised.

my only suggestion would be to reverse steps five and six, since “yum-config-manager” may not be installed yet.