There are 3 ways to check PHP version that your website is using –
1. The simplest way to check PHP version of a WordPress-based website is to just install a WordPress plugin developed for this purpose. You can install WordPress phpinfo() plugin, which is available free of cost from WordPress. Install and activate this plugin. Under the ‘Settings’ in the dashboard, just click WordPress phpinfo() and a lot of information including PHP version will be displayed. If you don’t want to use the above plugin, you can use another free plugin named WP-ServerInfo plugin.
2. Another way to check PHP version is to upload a file containing the PHP function called phpinfo() to the root directory of your site. Visit https://codex.wordpress.org/Finding_Server_Info to learn about this option.
3. You can also check the version of PHP run by the server hosting your website through the control panel. Control panel may list PHP version under software or programming languages or it may be at some other place. If your web hosting service provider allows, you can also change or upgrade / update the PHP version as per your requirement.