Install LAMP (Apache, MariaDB, PHP) stack on your Debian 10 buster with a single/powering command.
sudo apt-get install -y apache2 mariadb-server php libapache2-mod-php php-{bcmath,bz2,intl,gd,mbstring,mysql,zip,cli,fpm,opcache,xml,curl,intl,xsl,soap,json,apcu,imap}