as a learning from the past when end of support for PHP 7.4 caused many discussion I would like to heads up the admins still running PHP 8.0 to plan an upgrade to a supported version soon.
the goal of this post is not to start another flame war about PHP support in LTS and slow moving Linux distributions - the discussion is complete and all arguments have been mentioned in On the roadmap: deprecation of PHP 7.4My personal opinion is it was an error to keep support of PHP 8.0 in NC31 but it is the case. Previous statement was wrong and PHP 8.0 is not supported with NC30… hopefully NC31 will be the last one supporting PHP 8.1. This just a friendly head up to upgrade your systems - and not only PHP but everything (I know you do )
Thanks for the info. Perhaps you can also write somewhere in the instructions e.g. requirements what the default PHP versions of the respective Ubuntu and Debian releases are. Then perhaps users would simply upgrade the operating system including PHP and not only PHP.
Debian 11 Bullseye (release year 2021): PHP 7.4
Debian 12 Bookworm (release year 2023): PHP 8.2
Now is the time to upgrade to Ubuntu 22.04 LTS / 24.04 LTS or Debian 12 Bookworm. This will solve the PHP problem by itself. Yes, there are exceptions for long term support (+ 2 years or more) of old operating system versions . But normal end users tend not to be affected by the exceptions and experts tend to know what they are doing.
Nah, I don’t think so, probably an oversight by @wwe
Anyway, the main point of his post is that PHP 8.0 is EOL and should generally not be used anymore, so it doesn’t really matter whether it would still work with Nextcloud 30 or not
And in general, of course, it’s best to use the versions recommended by Nextcloud, rather than the oldest version that’s still supported, or the latest version that’s not yet recommended or supported.
I have to admit I didn’t check carefully for NC30 as it is released already… but now after triple checking the docs there is in fact some bug in the docs… the NC30 link from https://docs.nextcloud.com/ refers to https://docs.nextcloud.com/server/stable/admin_manual/ which lists PHP 8.0 as supported but deprecated and NC31 is latest without PHP 8.0… but the beforementioned https://docs.nextcloud.com/server/30/admin_manual/ in fact refers to latest.
Back to start - PHP8.0 stopped receiving security updates an nobody should use it. PHP 8.1 will stop receiving security updates by the end of 2025, so update to at least PHP 8.2 is recommended.
Most likely not. All versions that receive security updates are planned to stay supported.
No one forces you to stay on the old version. There is a clear warning in the admin settings if you do so.