|
@@ -566,7 +566,7 @@ instalarPHP() {
|
|
|
# Instalamos PHP-7.2
|
|
|
if [ $apacheOn = true ];then
|
|
|
result=$(yum -y install php72 php72-php-pecl-mysql php72-php-intl php72-php-mbstring php72-php-pecl-mcrypt openssl 2>&1)
|
|
|
- comprobarError 1 302 $result
|
|
|
+ comprobarError $? 302 $result
|
|
|
elif [ $nginxOn = true ];then
|
|
|
result=$(yum -y install php72 php72-php-fpm php72-php-pecl-mysql php72-php-intl php72-php-mbstring php72-php-pecl-mcrypt openssl 2>&1)
|
|
|
comprobarError $? 302 $result
|