From 8be3efa9e091f2d6d98b4b2f6708d3560e55e917 Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Thu, 19 Jan 2023 05:09:52 -0800 Subject: [PATCH] ... i cant spell --- scripts/pmainstall.sh | 4 ++-- scripts/pmaupdate.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pmainstall.sh b/scripts/pmainstall.sh index aba8ae9..b413821 100644 --- a/scripts/pmainstall.sh +++ b/scripts/pmainstall.sh @@ -19,7 +19,7 @@ done PHP_VER="8.2" sudo apt update && apt upgrade -y sudo add-apt-repository --yes ppa:ondrej/php && apt install libapache2-mod-php$PHP_VER php$PHP_VER-fpm -y -sudo systemtl stop apache2 +sudo systemctl stop apache2 sudo apt install apache2 -y sudo apt remove php8.1-fpm php8.1-* -y sudo apt install software-properties-common @@ -34,7 +34,7 @@ sudo a2enmod proxy sudo a2enmod proxy_fcgi sudo a2enconf php$PHP_VER-fpm sudo systemctl restart php$PHP_VER-fpm -systemctl reload apache2 +sudo systemctl reload apache2 sudo systemctl enable apache2 ## Updating phpMyAdmin. PMA_VER="5.2.0" diff --git a/scripts/pmaupdate.sh b/scripts/pmaupdate.sh index 13afb52..5004d57 100644 --- a/scripts/pmaupdate.sh +++ b/scripts/pmaupdate.sh @@ -19,7 +19,7 @@ done PHP_VER="8.2" sudo apt update && apt upgrade -y sudo add-apt-repository --yes ppa:ondrej/php && apt install libapache2-mod-php$PHP_VER php$PHP_VER-fpm -y -sudo systemtl stop apache2 +sudo systemctl stop apache2 sudo apt install phpmyadmin php-mbstring php-zip php-gd php-json php-curl -y sudo apt remove php8.1-fpm php8.1-* -y sudo phpenmod mbstring @@ -30,7 +30,7 @@ sudo a2enmod proxy sudo a2enmod proxy_fcgi sudo a2enconf php$PHP_VER-fpm sudo systemctl restart php$PHP_VER-fpm -systemctl reload apache2 +sudo systemctl reload apache2 sudo systemctl enable apache2 sudo apt autoremove -y PMA_VER="5.2.0"