Update 'scripts/pmainstall.sh'

This commit is contained in:
2022-10-19 10:38:00 -07:00
parent 1e94bf5b74
commit 6f124114cf

View File

@ -9,11 +9,11 @@ if [ "$go" == 'n' ]; then
fi fi
sudo apt update && apt upgrade -y sudo apt update && apt upgrade -y
sudo add-apt-repository ppa:ondrej/php && apt install libapache2-mod-php8.1 -y
sudo systemtl stop apache2 sudo systemtl stop apache2
sudo apt install apache2 -y sudo apt install apache2 -y
sudo apt install software-properties-common sudo apt install software-properties-common
sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl -y sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl -y
sudo add-apt-repository ppa:ondrej/php && apt install libapache2-mod-php8.1 -y
sudo a2enmod php8.1 sudo a2enmod php8.1
sudo echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf sudo echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf
sudo phpenmod mbstring sudo phpenmod mbstring