Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Adullact
vagrant-nextcloud
Commits
05ab9fa3
Commit
05ab9fa3
authored
Oct 01, 2019
by
Matthieu FAURE
Browse files
FEAT add required PHP extensions
parent
c17d3283
Changes
1
Show whitespace changes
Inline
Side-by-side
manifests/default.pp
View file @
05ab9fa3
...
...
@@ -30,15 +30,22 @@ class { 'php::globals':
}
->
class
{
'php'
:
extensions
=>
{
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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment