Pārlūkot izejas kodu

Bug: error al arrancar php e instalar info.php

Guzmán Castanedo Villalba 5 gadi atpakaļ
vecāks
revīzija
c915051421
1 mainītis faili ar 2 papildinājumiem un 12 dzēšanām
  1. 2 12
      install

+ 2 - 12
install

@@ -796,7 +796,7 @@ mostrarExpress
 		echo -en "Configurando Servidor Web..." | tee -a $logFile
 #		{
 #			echo -en "%s\n" $((100 * progreso / progresoTotal))
-			sleep 2
+			instalarPHPInfo
 			progreso=$((progreso + 1))
 #		} > >(whiptail --gauge "Configurando Servidor Web..." $((ALTO * 4 / 10)) $((ANCHO * 9 / 10)) $((100 * progreso / progresoTotal)))
 		echo -en " OK.\n" | tee -a $logFile
@@ -854,23 +854,13 @@ mostrarExpress
 		if [ $apacheOn = true ];then
 			if [ $debianOS = true ];then
 				habilitarServicio apache2
-				if [ $phpOn = true ]; then
-					habilitarServicio php
-				fi
 			elif [ $rhelOS = true ];then
 				habilitarServicio httpd
-				if [ $phpOn = true ]; then
-					habilitarServicio php72
-				fi
 			fi
 		elif [ $nginxOn = true ];then
 			habilitarServicio nginx
 			if [ $phpOn = true ];then
-				if [ $debianOS = true ];then
-					habilitarServicio php-fpm
-				elif [ $rhelOS = true ];then
-					habilitarServicio php72-php-fpm
-				fi
+				habilitarServicio php-fpm
 			fi
 		fi
 		progreso=$((progreso + 1))