Just wondered if there are any plans to upgrade PHP within DietPi. (Running 8.10.2 at present)
I’m currently running Nextcloud 25.0.1 and have PHP Version 7.4
I see that 7.4 reaches EOL in a couple of weeks, and Nextcloud’s recommended version is 8.1
Should I manually upgrade to 8.1? Is it as straightforward as the various online guides seem to suggest?
Thanks for any replies.
PHP 7.4 is the version available from Debian apt
repository on Bullseye. Currently we don’t plan to add 3rd party repositories.
Jappe
3
Here are some discussions which suggest it’s not that easy:
https://news.ycombinator.com/item?id=28180590
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976811
Also here is a list of changes which are not downwards compatible.
https://www.php.net/manual/en/migration80.incompatible.php
If you want to change, make a backup of your system and just try it
edit:
okay in the nextcloud docs they recommend php 8.1
https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html
Thanks for the prompt replies.
I’ll do a trial - after making a backup - and report back.