ansible-infra/playbooks/roles/dokuwiki/templates/php-fpm-dokuwiki.conf

16 lines
525 B
Text
Raw Normal View History

2023-04-16 00:05:33 +02:00
[dokuwiki]
user = {{ dokuwiki__php_user }}
group = {{ dokuwiki__php_user }}
2023-04-16 00:05:33 +02:00
listen = /var/run/php/php-fpm-dokuwiki.sock
listen.owner = {{ dokuwiki__nginx_user }}
listen.group = {{ dokuwiki__nginx_user }}
2023-04-16 00:05:33 +02:00
php_admin_value[disable_functions] = exec,passthru,shell_exec,system
php_admin_flag[allow_url_fopen] = on
2023-04-16 00:05:33 +02:00
; Choose how the process manager will control the number of child processes.
pm = dynamic
pm.max_children = 75
pm.start_servers = 10
pm.min_spare_servers = 5
pm.max_spare_servers = 20
pm.process_idle_timeout = 10s