Content
In order to check exactly which PHP version is used for a certain folder, you should create a simple php info file (for example phpinfo.php) in it. The file should contain only the following code:
<?php phpinfo(); ?>
You can create this file using File Manager in cPanel, or via FTP.
Then you should open this file in a browser to see the full PHP information. The path to the file should be:
http://yourdomain.com/folder/phpinfo.php
You can also run different PHP versions for different folders in your XonHost hosting account. More information on how to do this can be found in this tutorial.