installation/nextcloud_itopie.md : update file authored by Donna Sayed's avatar Donna Sayed
This fixes <https://odoo.itopie.ch/web#model=helpdesk.ticket&id=HT00844>.
...@@ -59,31 +59,30 @@ Une version de retard par rapport au [Release Schedule](https://github.com/nextc ...@@ -59,31 +59,30 @@ Une version de retard par rapport au [Release Schedule](https://github.com/nextc
``` ```
# cat << EOF > /etc/php/8.2/fpm/pool.d/nextcloud.conf # cat << EOF > /etc/php/8.2/fpm/pool.d/nextcloud.conf
[nextcloud] [nextcloud]
listen = /run/php/php8.2-fpm-nextcloud.sock ; The access log file listen = /run/php/php8.2-fpm-nextcloud.sock
listen.owner = www-data ; Default: not set listen.owner = www-data
listen.group = www-data ;access.log = log/$pool.access.log listen.group = www-data
user = www-data ; The access log format. user = www-data
group = www-data ; The following syntax is allowed group = www-data
; %%: the '%' character
pm = dynamic ; %C: %CPU used by the request pm = dynamic
pm.max_children = 172 ; it can accept the following format: pm.max_children = 172
pm.process_idle_timeout = 10s ; - %{user}C for user CPU only pm.start_servers = 43
pm.max_requests = 200 ; - %{system}C for system CPU only pm.min_spare_servers = 43
pm.start_servers = 43 ; - %{total}C for user + system CPU (default) pm.max_spare_servers = 129
pm.min_spare_servers = 43 ; %d: time taken to serve the request pm.max_requests = 200
pm.max_spare_servers = 129 ; it can accept the following format: pm.status_path = /fpm-status
pm.status_path = /fpm-status ; - %{seconds}d (default)
; - %{milliseconds}d env[HOSTNAME] = $HOSTNAME
env[HOSTNAME] = $HOSTNAME ; - %{milli}d env[PATH] = /usr/local/bin:/usr/bin:/bin
env[PATH] = /usr/local/bin:/usr/bin:/bin ; - %{microseconds}d env[TMP] = /tmp
env[TMP] = /tmp ; - %{micro}d env[TMPDIR] = /tmp
env[TMPDIR] = /tmp ; %e: an environment variable (same as $_ENV or $_SERVER) env[TEMP] = /tmp
env[TEMP] = /tmp ; it must be associated with embraces to specify the name of the env
; variable. Some examples: catch_workers_output = yes
catch_workers_output = yes ; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e php_flag[display_errors] = on
php_flag[display_errors] = on ; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e php_admin_value[error_log] = /var/log/fpm-php.nextcloud.log
php_admin_value[error_log] = /var/log/fpm-php.nextcloud.log ; %f: script filename
php_admin_flag[log_errors] = on php_admin_flag[log_errors] = on
EOF EOF
``` ```
... ...
......