How to check which PHP version is running on my account?

To check exactly which PHP version is used for a certain website, create a simple PHP info file (for example phpinfo.php) in the /home/username/public_html folder, containing the following code:

<?php phpinfo(); ?>

Then open the file in a browser:

Replace with your actual domain name and username with your hosting account username.

Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.