Knowledge Base Article

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

Thanks to SiteGround's server setup, it is possible to run different PHP versions for different folders in your account. More information on how to do this can be found in this article.

 

In order to check exactly which PHP version is used for a certain folder, you should create a simple php file (for example phpinfo.php) with the following line in it:

 

<?php phpinfo(); ?>

 

Then you should open this file in a browser to see the full PHP information. The path to the file should be:

yourdomainname.com/folder/phpinfo.php



Rating

Please indicate if this article was helpful for you.

rating :  3.0 from 5
views :  192
votes :  5

Valid XHTML 1.0 Strict Valid CSS!