From 77e08c16fd9c69596986b9e1d63f1ba1217a6804 Mon Sep 17 00:00:00 2001 From: phil Date: Wed, 28 Jun 2023 19:04:40 +0200 Subject: [PATCH] nextcloud: Allow access to necessary path --- 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 04f056b..2152261 100644 --- a/templates/php_fpm_pool.j2 +++ b/templates/php_fpm_pool.j2 @@ -27,5 +27,5 @@ php_admin_flag[log_errors] = on 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/meminfo:/var/log:/sys/class/net/eth0:/sys/class/net/lo +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