|
@@ -519,10 +519,10 @@ instalarPHP() {
|
|
# Instalamos PHP-7 de forma diferente si es junto a Apache o con Nginx
|
|
# Instalamos PHP-7 de forma diferente si es junto a Apache o con Nginx
|
|
if [ $debianOS = true ];then
|
|
if [ $debianOS = true ];then
|
|
if [ $apacheOn = true ]; then
|
|
if [ $apacheOn = true ]; then
|
|
- result=$(apt-get -q -y install php libapache2-mod-php php-mysql php-intl php-mbstring php-mcrypt openssl 2>&1)
|
|
|
|
|
|
+ result=$(apt-get -q -y install php libapache2-mod-php php-mysql php-intl php-mbstring openssl 2>&1)
|
|
comprobarError $? 302 $result
|
|
comprobarError $? 302 $result
|
|
elif [ $nginxOn = true ];then
|
|
elif [ $nginxOn = true ];then
|
|
- result=$(apt-get -q -y install php-fpm libapache2-mod-php php-mysql php-intl php-mbstring php-mcrypt openssl 2>&1)
|
|
|
|
|
|
+ result=$(apt-get -q -y install php-fpm libapache2-mod-php php-mysql php-intl php-mbstring openssl 2>&1)
|
|
comprobarError $? 302 $result
|
|
comprobarError $? 302 $result
|
|
else
|
|
else
|
|
comprobarError 1 301
|
|
comprobarError 1 301
|