Checking versions of PHP installed on Ubuntu server

After connecting to my server, I executed the following commands:

root@jaimemontoya:/var/www/jaimemontoya.com# cd /etc/php
root@jaimemontoya:/etc/php# pwd
/etc/php
root@jaimemontoya:/etc/php# ls -al
total 36
drwxr-xr-x   7 root root  4096 Jan 16 03:02 .
drwxr-xr-x 160 root root 12288 Jan 16 03:02 ..
drwxr-xr-x   6 root root  4096 Aug  7  2019 7.0
drwxr-xr-x   5 root root  4096 Aug  7  2019 7.3
drwxr-xr-x   5 root root  4096 Nov  6  2021 8.0
drwxr-xr-x   5 root root  4096 Aug 17 08:56 8.1
drwxr-xr-x   5 root root  4096 Jan 16 03:02 8.3
Published: 1:50 AM GMT · Jan 16, 2024