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': ...@@ -30,15 +30,22 @@ class { 'php::globals':
} }
-> class { 'php': -> class { 'php':
extensions => { extensions => {
ctype => {}, apcu => {},
bz2 => {},
ctype => {},
curl => {}, curl => {},
dom => {}, dom => {},
# exif => {}, # already installed
gd => {}, gd => {},
iconv => {}, iconv => {},
imagick => {},
intl => {},
json => {}, json => {},
# fileinfo => {}, # already installed
# libxml => {}, # already installed # libxml => {}, # already installed
mbstring => {}, mbstring => {},
# openssl => {}, # already installed # openssl => {}, # already installed
mysql => {},
posix => {}, posix => {},
# session => {}, # already installed # session => {}, # already installed
simplexml => {}, simplexml => {},
...@@ -49,6 +56,8 @@ class { 'php::globals': ...@@ -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': file { 't.php':
path => $_phpinfo, path => $_phpinfo,
ensure => file, ensure => file,
...@@ -59,3 +68,7 @@ file_line { 'phpinfo': ...@@ -59,3 +68,7 @@ file_line { 'phpinfo':
path => $_phpinfo, path => $_phpinfo,
line => '<?php 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
Supports Markdown
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