From e3f621195bb3f7a5ad5a32cb4c6d0166eb423460 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Wed, 19 Oct 2022 20:25:48 -0700 Subject: [PATCH] Update 'scripts/pmainstall.sh' --- scripts/pmainstall.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/scripts/pmainstall.sh b/scripts/pmainstall.sh index 122c558..3f8e113 100644 --- a/scripts/pmainstall.sh +++ b/scripts/pmainstall.sh @@ -14,12 +14,19 @@ sudo systemtl stop apache2 sudo apt install apache2 -y sudo apt install software-properties-common sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl -y -sudo a2enmod php8.1 sudo echo "Include /etc/phpmyadmin/apache.conf" >> /etc/apache2/apache2.conf sudo phpenmod mbstring +sudo a2dismod php8.1 +sudo a2dismod mpm_prefork +sudo a2disconf php7.4-fpm +sudo a2enmod mpm_event +sudo a2enmod proxy +sudo a2enmod proxy_fcgi +sudo a2enconf php8.1-fpm +sudo systemctl restart php8.1-fpm sudo systemctl enable apache2 -sudo systemctl start apache2 +sudo systemctl restart apache2