sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get install software-properties-common php7.4 mariadb-server mariadb-client apache2 mysql-workbench sudo apt-get install php7.4-bcmath php7.4-cli php7.4-common php7.4-curl php7.4-dev php7.4-gd php7.4-gmp php7.4-intl php7.4-json php7.4-mbstring php7.4-mysql php7.4-opcache php7.4-readline libapache2-mod-php7.4 sudo mysql_secure_installation