Is it necessary to upgrade PHP before upgrading suiteCRM?

Is it necessary to upgrade PHP before upgrading suiteCRM? I need to upgrade from 7.9.8 version to 7.10.24. What is the recommended PHP version in case it is mandatory to upgrade PHP?

Hi,
pls have a look here:

the supported php versions are shown there for both crm versions.

Hi,
please have a look -