Browse Source

Disable CentOS PHP, enable remi

Ernesto Nicolás Carrea 5 years ago
parent
commit
d39d3db8ac
1 changed files with 3 additions and 1 deletions
  1. 3 1
      bin/module/php-fpm/install.inc

+ 3 - 1
bin/module/php-fpm/install.inc

@@ -20,8 +20,10 @@ EOL
     elif [ "$OS_BASE" = 'ubuntu' ]; then
         LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php > /dev/null 2>&1
     elif [ "$OS_BASE" = 'rhel' ]; then
+        # Disable CentOS PHP, enable Remi PHP
+        dnf -y module disable php:*
         dnf -y install http://rpms.remirepo.net/enterprise/remi-release-$OS_VERSION.rpm
-        dnf config-manager --set-enabled remi
+        dnf config-manager --set-enabled remi remi-modular
     fi
 
     local pool_d=$(osal_php_fpm_pool_d $PHP_DEFAULT_VERSION)