From b08de1fd6a10b04d35ec5618657a04bd76c55f56 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Wed, 19 Oct 2022 10:21:40 -0700 Subject: [PATCH] Update 'scripts/pmainstall.sh' --- scripts/pmainstall.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/pmainstall.sh b/scripts/pmainstall.sh index a18f932..bc1ad12 100644 --- a/scripts/pmainstall.sh +++ b/scripts/pmainstall.sh @@ -9,13 +9,16 @@ if [ "$go" == 'n' ]; then fi apt update && apt upgrade -y +sudo systemtl stop apache2 sudo apt install software-properties-common 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 sudo a2enmod php8.1 sudo echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf sudo phpenmod mbstring -sudo systemctl restart apache2 + +sudo systemtl enable apache2 +sudo systemctl start apache2