I'm running an existing site with PHP 8.2.2 and I'd like to install Flarum. Is that possible? I understand beta16 has PHP 8 support. I tried this:
- Unzipped: https://github.com/flarum/flarum/archive/v0.1.0-beta.16.zip
- Modified
composer.json
: Changed flarum/core to v0.1.0-beta.16
and everything else to *
.
- Ran:
composer update
. The result:
- laminas/laminas-httphandlerrunner 1.2.0 requires php ^7.1 -> your php version (8.2.2) does not satisfy that requirement.
- laminas/laminas-httphandlerrunner[1.3.0, ..., 1.4.0] require php ^7.3 || ~8.0.0 -> your php version (8.2.2) does not satisfy that requirement.
- laminas/laminas-httphandlerrunner 1.5.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2.2) does not satisfy that requirement.
- flarum/core v0.1.0-beta.16 requires laminas/laminas-httphandlerrunner ^1.2.0 -> satisfiable by laminas/laminas-httphandlerrunner[1.2.0, 1.3.0, 1.4.0, 1.5.0].
- Root composer.json requires flarum/core v0.1.0-beta.16 -> satisfiable by flarum/core[v0.1.0-beta.16].
Is there any path to getting this working on 8.2.2? I'd really rather not downgrade PHP.
I see 1.6
was uploaded Nov 15, 2022 while 0.1.0-beta.16
is from Mar 15, 2021. Is using that beta version the right move?
I also tried 1.6
but it looks to use older PHP (eg laminas/laminas-httphandlerrunner 1.2.0 requires php ^7.1
).
If I absolutely must downgrade PHP, what is the highest PHP version beta16 supports?