News for hackers. Stuff that matters.
Re:PHP 5 and 7.0 end of life by ajsalminen on Friday July 19, 2019 @03:05AM (#20476718)
Note that multiple Linux distributions will still be supporting it, in some cases for a very long time after.
Re:PHP 5 and 7.0 end of life by kijin on Friday July 19, 2019 @05:04AM (#20477151)
Exactly. These EOL dates aren't really helpful in a world where most people just use a handful of distros. WordPress keeps sending the same unhelpful message and I hate it.

Just the other day, a somewhat technical client of mine called me to ask if his PHP 7.0 installation has gaping security holes. I said no, you're using Ubuntu 16.04 LTS, you'll be fine until April 2021. If you force an upgrade now, you might run out of support even earlier.

My go-to version for production right now is PHP 7.2. I'm going to ignore all warnings about its EOL until 2028, when support for Ubuntu 18.04 runs out. Wait a sec, add another year for RHEL/CentOS 8 which is also going to support PHP 7.2 for the next 10 years. PHP 7.2 is going to outlive a whole bunch of future versions.

Re:PHP 5 and 7.0 end of life by tomxor on Friday July 19, 2019 @12:14PM (#20479866)
> My go-to version for production right now is PHP 7.2. I'm going to ignore all warnings about its EOL until 2028, when support for Ubuntu 18.04 runs out.

I'm not sure you can just hide behind the LTS assurance of the OS, they can't guarantee every single package in their repos will remain safe. Plenty of packages in Ubuntu LTS releases reach EoL far far before OS EoL.

Re:PHP 5 and 7.0 end of life by kijin on Friday July 19, 2019 @01:49PM (#20480880)
True, but PHP tends to be looked after fairly well given its importance to the web ecosystem.

Ubuntu for example has a pretty good track record of backporting PHP security fixes. PHP 7.0 in Ubuntu 16.04 has been getting updates every few weeks despite the EOL last winter, and I remember observing the same with PHP 5.5 in 14.04 until the OS itself reached EOL earlier this year.

The fact that both Red Hat and Canonical are committed to supporting PHP 7.2 for the next decade probably means that there will be more eyes on that particular version, and more hands to patch it, for the foreseeable future. It's a nice coincidence for people who want a bit of stability now that PHP has begun to change rather quickly.

Re:PHP 5 and 7.0 end of life by tomxor on Friday July 19, 2019 @10:06PM (#20483768)
Interesting, that's quite a lot of effort to keep the old versions safe.

I wonder if any of that work get up-streamed into the old versions for the benefit of other distros?

Re:PHP 5 and 7.0 end of life by kijin on Saturday July 20, 2019 @01:10AM (#20484295)
Ubuntu and CentOS are maintaining versions that upstream has already EOL'd, so there's no upstream to push patches to. Most other distros (hello, Fedora) have much shorter support cycles so they don't really need those patches, either. There might be some sharing between Ubuntu and Debian LTS.

The majority of patches still come from upstream. If a new vulnerability is found in PHP 7.1 or 7.2, chances are the same bug exists in 7.0. So the maintainers check if their versions are also vulnerable, and if so, backport the fixes. As time goes on and differences accumulate, patches from upstream will become less relevant. It looks like Red Hat largely gave up on maintaining PHP 5.3 in RHEL/CentOS 6 after about 7 years. We'll have to see how long they actually stand behind PHP in CentOS 7 and 8.

Re:PHP 5 and 7.0 end of life by Spivak on Friday July 19, 2019 @01:53PM (#20480916)
I mean 'guarantee' is a pretty strong word in the world of security. Better phrasing might be "is committed to backporting security fixes for the lifetime of the OS."
Re:PHP 5 and 7.0 end of life by hnarn on Friday July 19, 2019 @03:27AM (#20476808)
RHEL 7 provides Apache 2.4 and PHP version 5.4, and RHEL/CentOS 7 is going to be around for a while.
Re:PHP 5 and 7.0 end of life by davesmith1983 on Friday July 19, 2019 @12:52PM (#20480313)
I am running CentOS 7 and that is still using 5.4. I am only running a forum, IRC and some other things and I don't really want to bother with third party packages.
Re:PHP 5 and 7.0 end of life by aorth on Saturday July 20, 2019 @09:31AM (#20485635)
For what it's worth I've been using PHP 5.6 via Software Collections (SCL) on my CentOS 7 system for a few years with zero problems. I think I will update to PHP 7.x soon (probably 7.2).

https://www.softwarecollections.org/en/scls/rhscl/rh-php72/

Re:PHP 5 and 7.0 end of life by mtnGoat on Friday July 19, 2019 @12:35PM (#20480122)
Amazon Linux 2 still installs PHP5.4 as of yesterday.