From 72c5574fffbdc06c00359e422f44a058530e6fd0 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 21 Oct 2023 17:46:38 +0200 Subject: [PATCH] Nextcloud: Enable shell_exec Needed for admin/serverinfo --- templates/php_fpm_pool.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/php_fpm_pool.j2 b/templates/php_fpm_pool.j2 index ef0fb3e..aebfae6 100644 --- a/templates/php_fpm_pool.j2 +++ b/templates/php_fpm_pool.j2 @@ -30,4 +30,4 @@ php_admin_value[memory_limit] = {{ nextcloud_php_memory_limit }} php_admin_value[upload_max_filesize] = {{ nextcloud_php_upload_limit }} php_admin_value[post_max_size] = {{ nextcloud_php_upload_limit }} php_admin_value[open_basedir] = {{ nextcloud_install_path }}:/tmp:/dev/urandom:/proc/cpuinfo:/proc/meminfo:/var/log:/sys/class/net/eth0:/sys/class/net/lo -;php_admin_value[disable_functions] = mail,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 +;php_admin_value[disable_functions] = mail,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,phpinfo