How to check php version in oc server v 10.16.3

OK from a bash prompt just type php -v

I’m running OC Server 10.16.3 (in a docker instance) which reports PHP version 7.4.33 – do I need to upgrade, and if so how?

OK it does need updating, see Critical Update for OwnCloud Classic available - PHP vulnerabilities