Article directory
On HestiaCP You can use the following method to find out which websites are using PHP version :
Method 1: View in HestiaCP panel
- Log in to HestiaCP(usually
https: //your-server-ip:8083). - Go to "Web" Tab.
- find your website domain name, click Edit.
- On “Backend Template” Or “PHP-FPM Version” You can see the PHP version used by the website.
Method 2: Use the command line (CLI) to query

If you have SSH access, you can find out the PHP version of your website using the following command:
1. Query the PHP version set by HestiaCP
v-list-web-domain user domain.com
For example:
v-list-web-domain abc chenweiliang.com
In the output, you will see something like:
PHP SUPPORT yes
PHP MODE php-fpm
PHP VERSION 8.1
This means that the site uses PHP 8.1.
2. Execute PHP commands directly in the website root directory
If you are unsure about your PHP configuration, go to your website's root directory, for example:
cd /home/user/web/domain.com/public_html
Then run:
php -v
or:
php -i | grep "PHP Version"
3. Create in the website directory phpinfo.php file
If you can upload files, you can create phpinfo.php :
nano /home/user/web/domain.com/public_html/phpinfo.php
Add to:
<?php phpinfo(); ?>
After saving, access it in the browser:
http://domain.com/phpinfo.php
You will then see the complete PHP version information.
Final Thoughts
✅ It is recommended to use the HestiaCP panel to view(Simplest)
✅ Using the command line v-list-web-domain Find(Suitable for users with SSH permissions)
✅ use phpinfo.php Visualization(Suitable for beginners)
Try it and see what PHP version your website is using! 🚀
Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ )'s article "How to find the PHP version of a website using HestiaCP? Super simple tips to share!" may be helpful to you.
Welcome to share the link of this article:https://www.chenweiliang.com/cwl-32494.html
To unlock more hidden tricks🔑, welcome to join our Telegram channel!
If you like it, please share and like it! Your sharing and likes are our continuous motivation!