Re: Reasonable PHP version requirements

Ralf Lang <[email protected]> Wed, 27 Nov 2019 07:50:24 +0100
Newsgroups gmane.comp.horde.devel
Message-ID <[email protected]>
Hi Patrice,

Am 26.11.2019 um 21:10 schrieb Patrice Levesque:
>
>> While PHP 5.6 has a lot of useful things which we could not use back
>> when Horde 5 came out, it's a dead horde.  Active upstream support for
>> PHP 7.2 will end in 4 days (Dezember 2019), PHP 7.1 won't even receive
>> security updates by then unless you buy an enterprise distribution.
> Care must be taken with =93active upstream support=94; most GNU/Linux
> distributions support older PHP releases for years after upstream has
> lost interest:
>
>
> - Debian=A09 has PHP=A07.0, EOL TBD
> - (Latest Debian (10) was relased 2019/07 with PHP=A07.3)

That's not upstream but it's more or less my point: Corporate users may
be stuck with older releases if they follow corporate practices like
using distribution rpm's and avoid building their own stuff.

There are ways around this like PPA/OBS/EPEL or using container setups.
The switch to PHP7 also means a considerable performance boost (even
without the free opcache extension)

>
>
> - RHEL=A06=A0/=A0CentOS=A06 has PHP=A05.3, EOL in 2020/11
> - RHEL=A07=A0/=A0CentOS=A07 has PHP=A05.4, EOL in 2024/06
These are the enterprise distributions mentioned above.
> - (Latest CentOS (8) was released 2019/09 with PHP=A07.2)
>
>
> - SuSE=A015.1 has PHP=A07.2, EOL TBD and is the latest stable version

There is no SuSE 15.1

- There is OpenSUSE Leap=A0 with php 7.2, (15.2 is in early alpha)=A0

- OpenSUSE Tumbleweed with php 7.3.11

- SUSE Linux Enterprise Server (SLES) has abandoned PHP from the core
release. All recent SLES 15 SPx have a common "Web and Scripting Module"
which contains PHP, Python3 and other goodies.
This module is no longer bound to the long-living BC and ABI promises
and they can bump versions anytime they (SUSE) find it apropriate. They
also used to ship two different sets of PHP like "php53-*" and "php7-*"
in the past to support both backward compat and recent code.

However, commercial distribution support after a PHP version is EOLed is
driven either by security concerns or support requests by customers
having a specific issue.

>
>
> - Ubuntu=A016.04 has PHP=A07.0, EOL in 2021/04
> - Ubuntu=A018.04 has PHP=A07.2, EOL in 2023/04 and is the latest LTS vers=
ion
>
>
> Using features available only in PHP=A0>=A07.2 pretty much means killing
> most stock GNU/Linux Horde installations.  Sure, there are ways to get a
> more recent PHP release outside of official distribution repositories,
> but counting on that is a risky proposition IMHO.
That's why I asked what would be a good baseline. I think the baseline
should be something >=3D 7.0

We should not forget horde is not isolated and depends on a ecosystem of
utilities like SabreDAV, Pear, PHPUnit (for development) and a few
others. Current master of SabreDAV requires PHP 7.0. Latest release
requires PHP 5.5.
As of today, the horde base app runs on php 5.3 and up.

Horde main versions tend to live long.

>
-- =

Ralf =

Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: [email protected]
B1 Systems GmbH
Osterfeldstra=DFe 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-- =

dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]