php: Entferne globales error_log für wwwusers-Gast. Vermeidet permissions-Probleme

This commit is contained in:
phil 2022-06-08 00:30:50 +02:00
parent 7ac7323ec6
commit d5f39d1166

View file

@ -26,11 +26,13 @@ disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexi
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 %}
{% if inventory_hostname == "wwwusers.sao" %}
error_log = /var/log/php.log
{% endif %}
display_errors = Off
;Empfohlene Einstellungen (pcc)
allow_url_fopen = Off
assert.active = Off
mail.add_x_header = Off
session.use_strict_mode = 1
session.use_strict_mode = 1