Which PHP with different Kirby Versions?

I have two websites which work on Kirby 3.5.1 + Php 7.3. They are online, receive rather good traffic, but they are complex. So I do not want to jeopardize them.
As soon as I change them to e.g. Kirby 3.9 + PHP 8.0 and further, they do not work anymore.
I want to build a new site with Kirby 3.9 and hopefully 4 which requires the new PHP versions.
Is there a way to update the functioning sites?
They are all together in a webhosting service which gives me only one PHP Version choice.
With lot’s of love for Kirby.

Nedim Hazar Bora

the exististing sites:

Different Kirby versions support different PHP versions.

You can find a little chart here:

As you can see, Kirby 3.5.x already supports PHP 8.0, but Kirby 4 will probably drop support for PHP 8.0, because it has already reached EOL, but Kirby 3.9.x will still work with PHP 8.0, so that would be your way to go with your current server. Might make sense to consider another provider where you can choose PHP versions per domain.

Update: Kirby 4 will still support PHP 8.0.

Thank you for your replies.
For reasons which I simply don’t understand the abovementioned sites now work with php 8.0. My problem is thus solved, although I don’t why it became a problem in the first place.

Best!

Nedim