ADS-B Receiver Project Setup Scripts

Fully agree

However as an academic interest only, the project was updated upto Debian 9 (Stretch) and Ubuntu 18 (Bionic). It can not detect Debian Buster (10), and hence tries to install default php5.

If someone is keen to use it, then he has to edit file adsb-receiver/bash/portal/install.sh, and change the line:
DISTRO_PHP_VERSION="5"
to:
DISTRO_PHP_VERSION="7.3"

ALTERNATIVELY,
change line:

        if [[ $RECEIVER_OS_RELEASE -ge "9" ]]; then DISTRO_PHP_VERSION="7.0"; fi

To:

        if [[ $RECEIVER_OS_RELEASE -ge "10" ]]; then DISTRO_PHP_VERSION="7.3"; fi

 
 

pi@piaware:~ $ sudo nano adsb-receiver/bash/portal/install.sh  
... ... ...
... ... ...
## CHECK FOR PREREQUISITE PACKAGES

DISTRO_PHP_VERSION="5"
case $RECEIVER_OS_DISTRIBUTION in
    debian|raspbian)
        if [[ $RECEIVER_OS_RELEASE -ge "9" ]]; then DISTRO_PHP_VERSION="7.0"; fi
        ;;
    ubuntu)
        if [ `bc -l <<< "$RECEIVER_OS_RELEASE >= 16.04"` -eq 1 ]; then DISTRO_PHP_VERSION="7.0"; fi
        if [ `bc -l <<< "$RECEIVER_OS_RELEASE >= 17.10"` -eq 1 ]; then DISTRO_PHP_VERSION="7.1"; fi
        if [ `bc -l <<< "$RECEIVER_OS_RELEASE >= 18.04"` -eq 1 ]; then DISTRO_PHP_VERSION="7.2"; fi
        ;;
esac

# Install PHP.
CheckPackage php${DISTRO_PHP_VERSION}-cgi
CheckPackage php${DISTRO_PHP_VERSION}-json

EDIT :

In addition to updating php version in file adsb-receiver/bash/portal/install.sh as above, the version numbers of dump1090-fa, piaware, and mlat-client need to be updated in file adsb-receiver/bash/variables.sh

pi@piaware:~ $ sudo nano adsb-receiver/bash/variables.sh

## SOFTWARE VERSIONS 
# The ADS-B Receiver Project
PROJECT_VERSION="2.7.2" 
# RTL-SDR OGN
RTLSDROGN_VERSION="0.2.5" 
# FlightAware PiAware
DUMP1090_FA_VERSION="3.7.1"
PIAWARE_VERSION="3.7.1" 
# PlaneFinder Client
PLANEFINDER_CLIENT_VERSION_ARM="4.1.1"
PLANEFINDER_CLIENT_VERSION_I386="4.1.1" 
# Flightradar24 Client
FLIGHTRADAR24_CLIENT_VERSION_I386="1.0.18-5" 
# mlat-client
MLAT_CLIENT_VERSION="0.2.6"
MLAT_CLIENT_TAG="v0.2.6" 
# PhantomJSPHANTOMJS_VERSION="2.1.1"