bundles/php: allow configuring of memory_limit and clear_env
This commit is contained in:
parent
2b06c77439
commit
376dba347f
3 changed files with 10 additions and 1 deletions
|
@ -21,3 +21,7 @@ pm.max_spare_servers=${num_cpus*2}
|
|||
pm.min_spare_servers=${num_cpus}
|
||||
pm.process_idle_timeout=30s
|
||||
pm.max_requests=1024
|
||||
|
||||
% if not clear_env:
|
||||
clear_env=no
|
||||
% endif
|
||||
|
|
|
@ -14,7 +14,7 @@ expose_php = Off
|
|||
|
||||
max_execution_time = 30
|
||||
max_input_time = 60
|
||||
memory_limit = 256M
|
||||
memory_limit = ${memory_limit}M
|
||||
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
display_startup_errors = Off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue