mailinabox
mailinabox copied to clipboard
Another php8.1 upgrade
This is my take on upgrading to PHP 8.1 with the feedback from @kiekerjan's PR #2309.
Would probably like to move the PHP Version from the if on line 94 in nextcloud.sh and make it an additional mandatory argument for the InstallNextcloud() function. But to keep this PR simple initially I have foregone that.
- this has explicit PHP version as requested in https://github.com/mail-in-a-box/mailinabox/pull/2309#issuecomment-1745650977 and https://github.com/mail-in-a-box/mailinabox/pull/2309#issuecomment-1769586360
- have not made use of docker #2319
- not modifying the nextcloud package https://github.com/mail-in-a-box/mailinabox/pull/2309#issuecomment-1782382428
I have tested this with upgrading from a v57a backup (nextcloud 20.0.14) successfully.