This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install PHP & check version | |
apt install software-properties-common | |
add-apt-repository ppa:ondrej/apache2 | |
apt update -y | |
apt upgrade -y | |
# For php7.3 (use any) | |
apt install -y php7.3 | |
apt install libapache2-mod-php7.3 php7.3 unzip php7.3-xml php7.3-mysql php7.3-imap php7.3-zip php7.3-intl php7.3-curl ntp -y |