|
@@ -1253,10 +1253,10 @@ instalarPHP() {
|
|
|
fedora)
|
|
|
# Instalamos PHP-7.2
|
|
|
if [ $apacheOn = true ];then
|
|
|
- result=$(yum -y install php php-mysqlnd php-intl php-mbstring php-pecl-mcrypt php-xml php-pecl-apcu php-gd php-pear-Net-Curl php-pecl-zip php-soap php-xmlrpc 2>&1)
|
|
|
+ result=$(yum -y install php php-mysqlnd php-intl php-mbstring php-pecl-mcrypt php-xml php-pecl-apcu php-gd php-pear-Net-Curl php-pecl-zip php-soap php-xmlrpc php-json 2>&1)
|
|
|
comprobarError $? 302 $result
|
|
|
elif [ $nginxOn = true ];then
|
|
|
- result=$(yum -y install php php-fpm php-mysqlnd php-intl php-mbstring php-pecl-mcrypt php-xml php-pecl-apcu php-gd php-pear-Net-Curl php-pecl-zip php-soap php-xmlrpc 2>&1)
|
|
|
+ result=$(yum -y install php php-fpm php-mysqlnd php-intl php-mbstring php-pecl-mcrypt php-xml php-pecl-apcu php-gd php-pear-Net-Curl php-pecl-zip php-soap php-xmlrpc php-json 2>&1)
|
|
|
comprobarError $? 302 $result
|
|
|
deshabilitarServicio $phpFPMName
|
|
|
else
|