php-fpm.conf.j2 696 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[global]
error_log = syslog
daemonize = no

[{{ aurweb_user }}]
listen = {{ aurweb_socket }}
listen.owner = {{ aurweb_user }}
listen.group = http
listen.mode = 0660

pm = dynamic
pm.max_children = 80
pm.start_servers = 20
pm.min_spare_servers = 10
pm.max_spare_servers = 20
pm.max_requests = 2000

php_admin_value[open_basedir] = {{aurweb_dir}}:/etc/aurweb/
php_admin_value[upload_tmp_dir] = {{ aurweb_dir }}/uploads
php_admin_value[session.save_path] = {{ aurweb_dir }}/sessions
21
php_admin_value[disable_functions] = symlink, suexec, system, shell_exec, popen, pclose, proc_get_status, proc_nice, proc_terminate, exec, passthru, show_source, escapeshellcmd
22
env[TMPDIR] = {{ aurweb_dir }}/uploads