See requirements topic.
Conclusion: if you want to continue with phpBB 3.2 you could, but you should update to 3.2.11 (and you can use PHP version up to 7.2)
Bear in mind that all PHP versions lower than 8.1.x are End Of Life, and 8.1 only has security maintenance for another 5 months (no active support).
In other words, PHP 8.2 and 8.3 are recommended and thus you should consider upgrading to phpBB 3.3 with a suitable PHP version.