How to Check PHP Version

PHP

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]
<?php phpinfo(); ?>
[/php]

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…

Setting up SQLite for Laravel

Setting up SQLite for Laravel

Sometimes you may decide you want to use SQLite for your Laravel app instead of a full blown MySQL database. In that...