Update from old Mautic (2.16.5) using PHP 7.4?

My Mautic version is: 2.16.5
My PHP version is: 7.4.25
My problem is: Can’t Update to Mautic 3 (and further)

These errors are showing in the log:
One or more errors occurred during pre-upgrade checks:

  • Mautic does not support PHP version 7.4.25 at this time. To use Mautic, you will need to downgrade to an earlier version.

Is there a way to Update Mautic 2.16 while using PHP 7.4? I can’t downgrade PHP because it’s a shared space with other projects probably relying on 7.4 and (to be fair), my coding / server knowledge Kung-Fu is not strong enough so that I feel safe to do it.

So is there a way to update? Or can I overwrite the files and then update the database? Any other way?

Thank you very much in advance, and please bear with me if I missed mentioning something or didn’t find what’s obvious - Mautic still is sometimes a bit confusing to me.

You will need to update like this:
2.xx → 3.xx PHP 7.3
3.xx → 4.xx PHP 7.4

This is a very scary process. Check the Halloween Edition of the Automation Show if you are brave enough:

Thank you for your answer!

So without going back to PHP 7.3, it’s not possible?
Can I overwrite the old files with a new version and try to import the database then?

I would suggest to do the right way, but it might be possible. Just make sure your db migrations are fine