# php 7.3 bisa diganti dengan versi yang kalian inginkan
sudo apt-get install -y libapache2-mod-php7.3 php7.3-cli php7.3-common php7.3-mbstring php7.3-gd php7.3-intl php7.3-xml php7.3-mysql php7.3-mcrypt php7.3-zip php7.3-dev
sudo apt-get install -y php7.3-mysql php7.3-opcache php7.3-pdo php7.3-xml php7.3-bcmath php7.3-bz2 php7.3-calendar php7.3-ctype php7.3-curl php7.3-dom php7.3-fileinfo php7.3-ftp
sudo apt-get install -y php7.3-gearman php7.3-gettext php7.3-iconv php7.3-igbinary php7.3-json php7.3-mailparse php7.3-mbstring php7.3-mcrypt php7.3-phar php7.3-posix php7.3-shmop php7.3-redis php7.3-simplexml php7.3-sockets php7.3-stomp
sudo apt-get install php7.3-sysvmsg php7.3-sysvsem php7.3-sysvshm php7.3-tokenizer php7.3-wddx php7.3-xmlreader php7.3-xmlwriter php7.3-xsl php7.3-zip