ispconfig_setup icon indicating copy to clipboard operation
ispconfig_setup copied to clipboard

php 5.6 support is over, can we get default php7.3?

Open glhms opened this issue 6 years ago • 5 comments

https://www.php.net/supported-versions.php

glhms avatar May 17 '19 14:05 glhms

I agree

amassi-network avatar May 17 '19 16:05 amassi-network

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

smoonlee avatar May 18 '19 14:05 smoonlee

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.

LeBaux avatar Jun 07 '19 02:06 LeBaux

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.

glhms avatar Jun 07 '19 11:06 glhms

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.

LeBaux avatar Jun 10 '19 09:06 LeBaux