You can create a phpinfo.php
file on your domain’s htdocs
folder with this content:
<?=phpinfo()?>
and when you visit it through your browser it should show the PHP version and all the extensions enabled on that PHP version and the technical info as well.