Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pâquerette
Infrastructure
Ansible Pâquerette
Commits
8e30e49c
Commit
8e30e49c
authored
Jun 09, 2022
by
Mehdi Khadir
Browse files
[WIP] Modification to play with variable in PHP.ini
parent
3791db0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/php7_fpm/tasks/configure_fpm.yml
View file @
8e30e49c
...
...
@@ -49,3 +49,14 @@
notify
:
reload php-fpm php7_fpm
tags
:
-
confphpfpm
-
name
:
"
uplaod_max_filesize
limit
from
2M
to
{{
php_upload_max_filesize
}}
for
PHP{{
php_version
}}"
lineinfile
:
line
:
"
upload_max_filesize
=
{{
php_upload_max_filesize
}}"
regexp
:
"
^upload_max_filesize"
path
:
"
{{
php_ini_file
}}"
state
:
present
notify
:
reload php-fpm php7_fpm
tags
:
-
confphpfpm
\ No newline at end of file
roles/php7_fpm/vars/main.yml
View file @
8e30e49c
...
...
@@ -18,7 +18,7 @@
"
php{{
php_version
}}-gd"
,
"
php{{
php_version
}}-gmp"
,
"
php{{
php_version
}}-intl"
,
"
php{{
php_version
}}-json"
,
# php 8.1 ?
"php{{ php_version }}-json",
"
php{{
php_version
}}-mbstring"
,
"
php{{
php_version
}}-imagick"
,
"
php{{
php_version
}}-mysql"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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