add memory_limit var

This commit is contained in:
Sebastian Hugentobler 2017-02-16 15:30:19 +01:00
parent 7f0d896e61
commit 4d86448d0d
3 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,11 @@ The group which runs the fpm process.
Maximal upload size. Maximal upload size.
## PHP_MEMORY_LIMIT
- default: 128M
Maximum amount of memory that a script is allowed to allocate.
## PHP_ADMIN_VALUES ## PHP_ADMIN_VALUES
Comma seperated list of php admin values. Comma seperated list of php admin values.

View File

@ -0,0 +1,3 @@
[template]
src = "00_memory_limit.ini.tmpl"
dest = "/etc/php7/conf.d/00_memory_limit.ini"

View File

@ -0,0 +1 @@
memory_limit = {{ getenv "PHP_MEMORY_LIMIT" "128M"}}