add memory_limit var
This commit is contained in:
parent
7f0d896e61
commit
4d86448d0d
@ -16,6 +16,11 @@ The group which runs the fpm process.
|
||||
|
||||
Maximal upload size.
|
||||
|
||||
## PHP_MEMORY_LIMIT
|
||||
- default: 128M
|
||||
|
||||
Maximum amount of memory that a script is allowed to allocate.
|
||||
|
||||
## PHP_ADMIN_VALUES
|
||||
Comma seperated list of php admin values.
|
||||
|
||||
|
3
rootfs/etc/confd/conf.d/00_memory_limit.ini.toml
Normal file
3
rootfs/etc/confd/conf.d/00_memory_limit.ini.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[template]
|
||||
src = "00_memory_limit.ini.tmpl"
|
||||
dest = "/etc/php7/conf.d/00_memory_limit.ini"
|
1
rootfs/etc/confd/templates/00_memory_limit.ini.tmpl
Normal file
1
rootfs/etc/confd/templates/00_memory_limit.ini.tmpl
Normal file
@ -0,0 +1 @@
|
||||
memory_limit = {{ getenv "PHP_MEMORY_LIMIT" "128M"}}
|
Loading…
Reference in New Issue
Block a user