sabre-io/Baikal

What is the highest supported version of PHP?

Closed this issue · 4 comments

The release notes of 0.9.4 talk about PHP 8.2.

The install instructions say PHP 7.

Hi @toby63 ! I was able to run it in PHP 8.1 but not later versions.

To save you some time, here are the extensions I had to manually install (as they are separate packages in my distribution). Some of them further had to be enabled in the php.ini for PHP 8.1.

  • dom
  • mysql and pdo, I was tired and wasn't sure which was used. If you want to use sqlite, install the sqlite extension instead.
  • xml, xmlreader, xmlwriter (the former and latter might not be required, you might actually just need xmlreader)

@Reihar Thx for the answer.
I use PHP 8.1 now too.

I had to activate even more extensions, but I think it depends on the distros, which ones are already activated etc., but they still should be mentioned in the instructions too.

The CI runs with PHP 7.4 through to 8.3 inclusive. But that only has code-style and PHP analysis (phpstan) tools running. There are not actual unit tests or end-to-end tests run in CI.

0.9.5 dont seems to work on 7.4
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
Strange, because composer.json php requirement show 7.0+