Browse Source

Update go-16.sh

Andrea Pollastri 6 years ago
parent
commit
879c4de592
1 changed files with 9 additions and 1 deletions
  1. 9 1
      go-16.sh

+ 9 - 1
go-16.sh

@@ -130,7 +130,6 @@ service apache2 reload
 
 
 BASE=/etc/apache2/sites-available/base.conf
 BASE=/etc/apache2/sites-available/base.conf
 touch $BASE
 touch $BASE
-
 cat > "$BASE" <<EOF
 cat > "$BASE" <<EOF
 <VirtualHost $IP:80>
 <VirtualHost $IP:80>
         ServerAdmin webmaster@localhost
         ServerAdmin webmaster@localhost
@@ -186,6 +185,15 @@ dos2unix /cipi/alias-add.sh
 dos2unix /cipi/alias-del.sh
 dos2unix /cipi/alias-del.sh
 dos2unix /cipi/ssl.sh
 dos2unix /cipi/ssl.sh
 
 
+PHPINI=/etc/php/7.2/fpm/conf.d/cipi.ini
+touch $PHPINI
+cat > 
+memory_limit = 256M
+upload_max_filesize = 256M
+post_max_size = 256M
+<<EOF
+sudo service php7.2-fpm restart
+
 #FINAL MESSAGGE
 #FINAL MESSAGGE
 clear
 clear
 echo "###################################################################################"
 echo "###################################################################################"