Create a new file using the file CPanel File Manager and name it whatever you want, but make sure it has the .php extension at the end.
In the file put this code:
<?php
phpinfo();
?>
Go to this file in your browser and you will see the PHP version and configuration information.