How can we check the installed PHP version
To check the PHP version installed in our web space, we can do it simply through the following statement <? Php phpinfo (); ?> in a plain text file with extension .php
We can create a file with the name of our presence and save it with the extension .php, to visualize all the information of our PHP we upload our file to the root directory of our web domain and load it.
<?php
phpinfo();
?>