add max_execution_time parameter
This commit is contained in:
parent
5f804d1722
commit
9be4b2d862
@ -21,6 +21,11 @@ Maximal upload size.
|
|||||||
|
|
||||||
Maximum amount of memory that a script is allowed to allocate.
|
Maximum amount of memory that a script is allowed to allocate.
|
||||||
|
|
||||||
|
## PHP_MAX_EXECUTION_TIME
|
||||||
|
- default 30
|
||||||
|
|
||||||
|
Execution time limit for php scripts in seconds.
|
||||||
|
|
||||||
## PHP_ADMIN_VALUES
|
## PHP_ADMIN_VALUES
|
||||||
Comma seperated list of php admin values.
|
Comma seperated list of php admin values.
|
||||||
|
|
||||||
|
3
rootfs/etc/confd/conf.d/01_max_execution_time.ini.toml
Normal file
3
rootfs/etc/confd/conf.d/01_max_execution_time.ini.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[template]
|
||||||
|
src = "01_memory_limit.ini.tmpl.ini"
|
||||||
|
dest = "/etc/php7/conf.d/01_memory_limit.ini"
|
@ -0,0 +1 @@
|
|||||||
|
max_execution_time = {{ getenv "PHP_MAX_EXECUTION_TIME" "30"}}
|
Loading…
Reference in New Issue
Block a user