Or take Moodle 2.6. See https://docs.moodle.org/dev/Moodle_2.6_release_notes#Requirements.
Still worth checking with the hosting provider first. Some offer multiple PHP versions.
Installing and upgrading help
php version
This discussion has been locked so you can no longer reply to it.