fixed
This commit is contained in:
parent
421f67b5bb
commit
6b3a3bffd3
|
@ -22,7 +22,7 @@ done
|
|||
if [ "$go" == 'nginx' ]; then
|
||||
PHP_VER="8.2"
|
||||
sudo apt update && apt upgrade -y
|
||||
sudo apt install software-properties-common -y && sudo add-apt-repository --yes ppa:ondrej/nginx-mainline && sudo apt install php$PHP_VER-fpm software-properties-common phpmyadmin php-mbstring php-zip php-gd php-json php-curl nginx -y
|
||||
sudo apt install software-properties-common -y && sudo add-apt-repository --yes ppa:ondrej/php && sudo apt install php$PHP_VER-fpm software-properties-common phpmyadmin php-mbstring php-zip php-gd php-json php-curl nginx -y
|
||||
sudo systemctl stop nginx
|
||||
sudo apt remove php8.1-fpm php8.1-* -y
|
||||
sudo wget -O /etc/nginx/conf.d/phpmyadmin.conf https://git.oldgate.org/Sophia/thelinuxlist/raw/branch/main/conf/pmanginx.conf
|
||||
|
@ -53,7 +53,7 @@ fi
|
|||
if [ "$go" == 'apache' ]; then
|
||||
PHP_VER="8.2"
|
||||
sudo apt update && apt upgrade -y
|
||||
sudo add-apt-repository --yes ppa:ondrej/apache2 && 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 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 remove php8.1-fpm php8.1-* -y
|
||||
sudo wget -O /etc/apache2/sites-enabled/phpmyadmin.conf https://git.oldgate.org/Sophia/thelinuxlist/raw/branch/main/conf/pmaapache.conf
|
||||
|
|
Reference in New Issue