# HG changeset patch # User IBBoard # Date 1584906110 0 # Node ID aa9f570d6a9cfc297d573fc57e48bab4f8dea603 # Parent ee4760967d2f093d641fc2d3246b7fa423be7cdd Switch to PHP 7.4 now that NextCloud has reached v18 7.3 only lasted until December 2020 with active support. 7.4 is good until December 2021 with security until 2022. diff -r ee4760967d2f -r aa9f570d6a9c manifests/templates.pp --- a/manifests/templates.pp Sun Mar 15 20:02:35 2020 +0000 +++ b/manifests/templates.pp Sun Mar 22 19:41:50 2020 +0000 @@ -347,7 +347,6 @@ default_extra_tlds => [ 'com' ], } - # Use Remi's PHP 7.3 for now - 7.4 is still VERY new $php_suffix = '' if $operatingsystem == 'CentOS' and versioncmp($operatingsystemrelease, '8') >= 0 { yumrepo { 'remirepo-safe': @@ -381,8 +380,8 @@ gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi', } yumrepo { 'remirepo-php': - mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/php73/mirror', - descr => "PHP7.3 for CentOS from Remi", + mirrorlist => 'http://cdn.remirepo.net/enterprise/$releasever/php74/mirror', + descr => "PHP7.4 for CentOS from Remi", enabled => 1, failovermethod => 'priority', gpgcheck => 1, @@ -399,7 +398,7 @@ class { 'website::php': suffix => $php_suffix, opcache => 'opcache', - module => ($operatingsystem == 'CentOS' and versioncmp($operatingsystemrelease, '8') >= 0) ? { true => 'remi-7.3', default => undef }, + module => ($operatingsystem == 'CentOS' and versioncmp($operatingsystemrelease, '8') >= 0) ? { true => 'remi-7.4', default => undef }, extras => [ 'process', 'intl', 'pecl-imagick', 'bcmath', 'pecl-zip', 'json' ], }