How to Check PHP Version

Written by SarahS

25th October 2019

In order to see which PHP version your server is running you can type

[PHP -v] via SSH.

Alternatively you can create a new php file called info.php and add the following code:

<?php phpinfo(); ?>

Then upload it to your web root directory and name it info.php and navigate to that page in your web browser.

If this post helped you or if you have any questions please leave me a comment below:

0 Comments

You May Also Like…