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:

http://yourdomain.com/phpinfo.php

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

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

Comments

0 comments

Please sign in to leave a comment.