Re: Preparing for PHP8

From: Dale Scott <dalescott_at_shaw.ca>
Date: Fri, 18 Mar 2022 15:50:36 UTC
----- Original Message -----
> From: "lbutlr" <kremels@kreme.com>
> To: "Dale Scott (dalescott@shaw)" <dalescott@shaw.ca>
> Sent: Friday, March 18, 2022 7:20:48 AM
> Subject: Re: Preparing for PHP8

> On 2022 Mar 17, at 09:43, Dale Scott <dalescott@shaw.ca> wrote:
>> The latest releases of the following apps support using PHP 8.0 (although some
>> may not support PHP 8.1 yet)
>> 
>> MantisBT
>> Nextcloud
>> ProjeQtOr
>> TimeTracker
>> WebERP
>> Phpvirtualbox (head from GitHub)
>> SuiteCRM v8
>> WackoWiki
>> WordPress
> 
> How did you get that list?
> 

These are the web apps I was hosting using PHP7, except I was hosting MediaWiki instead of WackoWiki. I checked each app's home page for supported PHP version as well as searched their forum for discussion of PHP8 compatibility. I found all supported PHP8 - except for MediaWiki. I was hosting MediaWiki as a knowledgebase for WebERP, but WebERP also supports WackoWiki, and I found WackoWiki supported PHP8, so I migrated the WebERP knowledbase from MediaWiki to WackoWiki.

I should have also mentioned that NONE were installed from ports/pkg, all the apps were installed by downloading a release package from the project and manually extracting to /usr/local/www/. Some have pkgs, but for most of those either a) the app includes internal upgrade capability, making the version and dependencies in the pkg database incorrect after the first upgrade (e.g. Nextcloud and WordPress), or b) the pkg is an older version and/or lists older dependencies (e.g. Phpvirtualbox). IIRC I also encountered dependency issues related to MySQL versions (fwiw I am using MariaDb). MantisBT has three pkgs for PHP 7.3, PHP 7.4 and PHP 8.0, but in the end it was simpler to avoid pkg/ports entirely since the remaining five apps don't have pkgs anyway.