PHP >= 8.1 needed for Nextcloud >27

Hi all,

official PHP site shows that supported PHP version 8.0 gets only security support until Nov 25th 2023. No maintenance anymore. Next version 8.1 won’t get any maintenance exactly from that point on, end of Nov. 23.

My question, as my Nextcloud instance on my Leap 15.5 VPS started to complain after the upgrade to v27 today:

Where can I find our Leap 15.5 and beyond schedule for PHP?

Thanks,
Michael

1 Like

No one else with the need of a more current PHP for Leap 15.5?

Leap users value stability and compatibility over the “latest and greatest” version of software. Packagers will generally only upgrade if backporting security and bug fixes would take much more work.

The Nextcloud version available in openSUSE Leap is 24.0.8, so using that would not get you into trouble with PHP. If you insist on getting the latest versions, you should try Tumbleweed, which is on 27.1.1. More work keeping it up to date, but the maintainers succeeded in making Tumbleweed about as reliable as Leap.

PHP 8.0 is currently only receiving security fixes and that will end 26 Nov 2023 as was stated in the OP.

So while Leap is not aimed at those who want “the latest and greatest” it should be using packages that are at least supported in my view.

I too am using Nextcloud V27 and eagerly awaiting something later than PHP 8.0

openSUSE devs will backport patches from newer php versions into the Leap version. This is not even special to openSUSE. All/most fixed release distributions go this way as the update policy of this fixed release distries forbid upgrading major package versions for stability and compatibility reasons.

try to use php8 from openbuild service

zypper ar https://download.opensuse.org/repositories/devel:/languages:/php/SLE_15_SP5/ php8
zypper refresh --repo=php8
zypper info --repo=php8 php8

on my lab php version is 8.2

@yqyr6y2h Tried your way with php81 before my initial post, got some unresolvable zypper pkg issues, maybe because some pkgs missisng for 8.1 which are needed for other php software on my VPS, like TYPO3.

But my question to you is about 8.2: I can’t find any 8.2 subcontent on https://download.opensuse.org/repositories/devel:/languages:/php:/php82/ , seems to be empty?

Why not using the repo which @yqyr6y2h recommended?

General reply:

I agree, of course, top the mentioned stability aspects. That’s I’m using, esp. for my VPS, Leap and not Tumbleweed. In fact I’ve upgraded this VPS from 13.something on to now 15.5, and since a couple of releases this dist-upgraded are working like a charm. Stability of (backported etc.) kernels, networking etc. is great.

BUT: Some applications I really want to use, as Nextcloud, TYPO3, roundcubemail etc. are in a way outdated that any usage simply doesn’t make fun. All of them are plugin-based, so opened for other community etc. based devleopment. And most if not all of these very useful plugins/apps are NOT backward compatible. At least not to the “stone-age” versions officially supported by Leap.

Workarounding this, I’m looking for “Versuchsweise” Repos on software.opensuse.org, like esp. “server:php:applications”. Packages there are very fast avtailable after the software was externally published by their authors.

If not available via a “Versuchsweise” repo, like e.g. TYPO3 (we support 4.7, current release is 12), I’m installing them directly, as documented by their owners.

Works fine for years now. Except for the PHP warnings for Nextcloud now.
But our outdated PHP seems to get more painful in future, that’s why I’m not criticizing our rock solid stability aspects in general, just searching for some “balanced” workaround, for myself

Well, I’m suprised :smiley: 8.2 Path shown in browser is empty, as written. But 8.2 packages are shown now by yast/zypper. Whyever… thanks, @hui and @yqyr6y2h

Spot the difference between your and yqyr6y2h’s links:
https://download.opensuse.org/repositories/devel:/languages:/php:/php82/
https://download.opensuse.org/repositories/devel:/languages:/php/SLE_15_SP5/

ah… a simple “:” is the difference,

..../php:/...

instead of

..../php/...

Overlooked that, shame on me :smiley:

Q: Is there any logic on these “:”, as they’re quite frequently in our repo names?

Tried the mentioned by @yqyr6y2h repo.

Offers now php 8.2 pkgs, but leading, as before for 8.1, to some “unresolvable” zypper/yast issues. E.g. no suitable pkg for imagick (pkg php8-imagick) , AFAIK needed for TYPO3 and APCu. And APCu itself, needed for Nextcloud’s PHP caching (pkg php8-APCu)

Are they “missing” because our php 8.2 repo is currently incomplete regarding them? Or name changes (or missing “:” somewhere :)) I’m not aware of?

(If this subsequent topic should better be placed in an own, new thread, please advice…)

[SOLVED][SOLVED][SOLVED]

Used

https://download.opensuse.org/repositories/server:/php:/extensions/SLE_15_SP3/

so the SLE_15 specific repo instead of the previously used Leap 15.5 specific one

https://download.opensuse.org/repositories/server:/php:/extensions/15.5/