Просмотр исходного кода

Fix PHP 7.2 pool configuration

PHP 7.3 was accidentally enabled alongside PHP 7.2
Kristan Kenney 7 лет назад
Родитель
Сommit
be60eea261
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      install/deb/multiphp/apache2/PHP-72.sh
  2. 1 1
      install/deb/multiphp/nginx/PHP-72.sh

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

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

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

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