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