apt update
apt upgrade
apt install ca-certificates apt-transport-https
wget -q https://packages.sury.org/php/apt.gpg -O- | apt-key add -
echo "deb https://packages.sury.org/php/ stretch main" | tee /etc/apt/sources.list.d/php.list
apt update
apt install php7.3 php7.3-cli php7.3-common php7.3-curl php7.3-mbstring php7.3-mysql php7.3-xml php7.3-bcmath php7.3-soap php7.3-zip
chown -R 33:33 /var/www/html/lms/templates_c
chmod -R 755 /var/www/html/lms/templates_c
chown -R 33:33 /var/www/html/lms/backups
chmod -R 755 /var/www/html/lms/backups
chown -R 33:33 /var/www/html/lms/documents
chmod -R 755 /var/www/html/lms/documents
mkdir /var/www/html/lms/js/xajax_js/deferred
chown -R 33:33 /var/www/html/lms/js/xajax_js/deferred
chmod -R 755 /var/www/html/lms/js/xajax_js/deferred