Commit 05ab9fa3 authored by Matthieu FAURE's avatar Matthieu FAURE
Browse files

FEAT add required PHP extensions

parent c17d3283
......@@ -30,15 +30,22 @@ class { 'php::globals':
}
-> class { 'php':
extensions => {
ctype => {},
apcu => {},
bz2 => {},
ctype => {},
curl => {},
dom => {},
# exif => {}, # already installed
gd => {},
iconv => {},
imagick => {},
intl => {},
json => {},
# fileinfo => {}, # already installed
# libxml => {}, # already installed
mbstring => {},
# openssl => {}, # already installed
mysql => {},
posix => {},
# session => {}, # already installed
simplexml => {},
......@@ -49,6 +56,8 @@ class { 'php::globals':
},
}
# TODO configure APCu in NextCloud. See https://docs.nextcloud.com/server/16/admin_manual/configuration_server/caching_configuration.html#id1
file { 't.php':
path => $_phpinfo,
ensure => file,
......@@ -59,3 +68,7 @@ file_line { 'phpinfo':
path => $_phpinfo,
line => '<?php phpinfo(); ?>',
}
# Manage Redis
# Optionnally deal with Redis installation + configuration in NextCloud
# See https://docs.nextcloud.com/server/16/admin_manual/configuration_server/caching_configuration.html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment