Parcourir la source

Fix PHP 7.2 pool configuration

PHP 7.3 was accidentally enabled alongside PHP 7.2
Kristan Kenney il y a 7 ans
Parent
commit
be60eea261

+ 1 - 1
install/deb/multiphp/apache2/PHP-72.sh

@@ -66,7 +66,7 @@ if [ ! -f "$pool_file_72" ]; then
 fi
 fi
 
 
 if [ -f "$pool_file_73" ]; then
 if [ -f "$pool_file_73" ]; then
-    echo "$pool_conf" > $pool_file_73
+    rm $pool_file_73
     service php7.3-fpm restart
     service php7.3-fpm restart
 fi
 fi
 
 

+ 1 - 1
install/deb/multiphp/nginx/PHP-72.sh

@@ -66,7 +66,7 @@ if [ ! -f "$pool_file_72" ]; then
 fi
 fi
 
 
 if [ -f "$pool_file_73" ]; then
 if [ -f "$pool_file_73" ]; then
-    echo "$pool_conf" > $pool_file_73
+    rm $pool_file_73
     service php7.3-fpm restart
     service php7.3-fpm restart
 fi
 fi