These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Virtualmin GLP : How install Php 7.1 or 7.2 (01/05/19) on the new forum.
Hello,
I have a web server with: Centos Linux 7.6.1810 Webmin 1.900 Virtualmin: 6.06 (Version of Php 5.4.16 and 7.0.23)
I am looking for how to install in addition a version of Php 7.1 or 7.2. Could someone tell me how to add this version of Php on my Virtualmin? Please Thank you
Have a good day
Raphael
While it is debian orientated, try looking at the following issue that may help resolve this...
https://www.virtualmin.com/node/55788
We have done the following and it seems to work well:
Add PHP 7.2 to the list of available PHP versionsyum-config-manager --enable remi-php72 yum install rh-php72 yum install rh-php72-php-mcrypt rh-php72-php-mbstring rh-php72-php-soap rh-php72-php-intl rh-php72-php-devel rh-php72-php-mysqlnd rh-php72-php-bcmath rh-php72-php-gd rh-php72-php-imagick
Once you have completed the installation of a second PHP version on your server, you can verify that Virtualmin sees it by logging into Virtualmin, and clicking System Settings -> Re-Check Config.There are official instructions here for how to install additional PHP versions here:
https://www.virtualmin.com/documentation/web/multiplephp
Those have been recently updated to show PHP 7.2 on CentOS, and PHP 7.3 on Ubuntu.