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