php 5.6 support is over, can we get default php7.3?
https://www.php.net/supported-versions.php
I agree
For CentOS
Update PHP 7.2 https://blog.remirepo.net/post/2018/12/10/Install-PHP-7.3-on-CentOS-RHEL-or-Fedorahttps://tecadmin.net/install-php-7-on-centos/ yum install epel-release rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum --enablerepo=remi-php72 install php
sudo yum -y install epel-release sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum-config-manager --disable remi-php54 sudo yum-config-manager --enable remi-php72 sudo yum -y install php php-pear php-cgi php-common php-mbstring php-snmp php-gd php-xml php-mysql php-gettext php-bcmath
Update PHP 7.3 https://blog.remirepo.net/post/2018/12/10/Install-PHP-7.3-on-CentOS-RHEL-or-Fedorahttps://tecadmin.net/install-php-7-on-centos/ yum install epel-release rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm yum --enablerepo=remi-php73 install php
sudo yum -y install epel-release sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum-config-manager --disable remi-php54 sudo yum-config-manager --enable remi-php73 sudo yum -y install php php-pear php-cgi php-common php-mbstring php-snmp php-gd php-xml php-mysql php-gettext php-bcmath
I do not think PHP 7.3 is stable enough (by Debian standards) to be the default. 7.2, maybe.
Personally, I have a ton of legacy websites on PHP 5.6 and I think I am not alone that cant move every web project to PHP 7+. Therefore I welcome the old PHP option if it is carrying critical security risk.
WordPress powers 30% of all websites and RECOMMENDS "PHP version 7.3 or greater". (https://wordpress.org/about/requirements/)
Most popular php frameworks (eg. Laravel and Symfony) MINIMUM require php 7.1.3.
PHP 5.6 is okay for legacy projects, but should not be the default or only option installed.
But PHP 5.6 is an optional legacy in this install script. The 7.x should be bumped to 7.2 at least. Not that installing additional PHP versions is a problem.