This commit is contained in:
2023-01-19 20:52:52 -08:00
parent 8be3efa9e0
commit 2bf73b8a3b
10 changed files with 23 additions and 35 deletions

View File

@ -18,9 +18,8 @@ do
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 add-apt-repository --yes ppa:ondrej/php && apt install libapache2-mod-php$PHP_VER php$PHP_VER-fpm software-properties-common phpmyadmin php-mbstring php-zip php-gd php-json php-curl apache2 -y
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
sudo a2dismod php$PHP_VER