ansible-role-php/templates/30-sao.ini.j2

37 lines
2.2 KiB
Text
Raw Normal View History

2021-06-12 19:39:41 +02:00
{% if inventory_hostname == "wwwusers-ng.sao" %}
file_uploads = on
max_execution_time=120
max_input_time=120
post_max_size=16M
upload_max_filesize=16M
SMTP=mail-postfix.sao
{% else %}
upload_max_filesize = 15M
post_max_size = 15M
memory_limit = 192M
max_execution_time = 300
{% endif %}
date.timezone = Europe/Berlin
default_charset = "UTF-8"
;Upload-Fortschritt
apc.rfc1867 = 1
{% if inventory_hostname == "webmail-horde.sao" %}
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_exec,passthru,system,proc_get_status,proc_close,proc_nice,proc_terminate,proc_open,curl_ini,parse_ini_file,show_source,dl,symlink,mail,system_exec,exec,shell_exec,phpinfo
{% elif inventory_hostname == "wwwusers-ng.sao" %}
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_exec,passthru,system,proc_get_status,proc_close,proc_nice,proc_terminate,proc_open,curl_ini,show_source,dl,symlink,system_exec,exec,shell_exec,phpinfo
{% else %}
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_exec,passthru,system,proc_get_status,proc_close,proc_nice,proc_terminate,proc_open,curl_ini,parse_ini_file,show_source,dl,symlink,system_exec,exec,shell_exec,phpinfo
{% endif %}
error_log = /var/log/php.log
display_errors = Off
;Empfohlene Einstellungen (pcc)
allow_url_fopen = Off
assert.active = Off
mail.add_x_header = Off
session.use_strict_mode = 1