add max_execution_time parameter

This commit is contained in:
Sebastian Hugentobler 2017-05-18 10:39:00 +02:00
parent 5f804d1722
commit 9be4b2d862
3 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

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

View File

@ -0,0 +1 @@
max_execution_time = {{ getenv "PHP_MAX_EXECUTION_TIME" "30"}}