Update 'scripts/pmainstall.sh'

This commit is contained in:
Sophia Atkinson 2022-10-19 20:25:48 -07:00
parent 6f124114cf
commit e3f621195b
1 changed files with 9 additions and 2 deletions

View File

@ -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