Topic: Centos 7.3 help with PHP multiple version
Hello, I have a Centos 7.3 where it was installed PHP71w package from WEBTATIC with command yum replace php-common --replace-with=php71w-common.
All works good, but now another developer wants a previous version of PHP.
I discovered this repo that have all versions and there is the possibility to install them side by side.
The new developer prefers 5.4, that is the stock version of Centos 7.
What is the best path to replace or esase php71w of Webtatic with the original Centos version (5.4) and install 7.1 in parallel?
How can I configure Apache to use 5.4 on a site and 7.1 on the other site?
Alternately I can reach a compromise installing php 7.0 that seems works for both.
but the question is the same: What is the best path to replace or erase php71w with php70?
this is the output of yum erase php71:
===========================================================================================================
Package Arch Versione Repository Dim.
===========================================================================================================
Rimozione in corso:
php71w-bcmath x86_64 7.1.5-1.w7 @webtatic 94 k
php71w-cli x86_64 7.1.5-1.w7 @webtatic 9.2 M
php71w-common x86_64 7.1.5-1.w7 @webtatic 8.7 M
php71w-gd x86_64 7.1.5-1.w7 @webtatic 744 k
php71w-mbstring x86_64 7.1.5-1.w7 @webtatic 2.8 M
php71w-mysql x86_64 7.1.5-1.w7 @webtatic 346 k
php71w-opcache x86_64 7.1.5-1.w7 @webtatic 782 k
php71w-pdo x86_64 7.1.5-1.w7 @webtatic 381 k
php71w-pear noarch 1:1.10.1-1.w7 @webtatic 2.1 M
php71w-process x86_64 7.1.5-1.w7 @webtatic 149 k
php71w-tidy x86_64 7.1.5-1.w7 @webtatic 106 k
php71w-xml x86_64 7.1.5-1.w7 @webtatic 634 k
Rimozioni per dipendenze:
php-fedora-autoloader noarch 1.0.0-1.el7 @epel 15 k
php-php-gettext noarch 1.0.12-1.el7 @epel 57 k
php-tcpdf noarch 6.2.13-1.el7 @epel 11 M
php-tcpdf-dejavu-sans-fonts noarch 6.2.13-1.el7 @epel 1.5 M
phpMyAdmin noarch 4.4.15.10-1.el7 @epel 24 M
Now I'm using phpMyAdmin, if it erase it, can I install it later without losing config?
I thank you in advance anyone may help me