]> git.openstreetmap.org Git - chef.git/blob - cookbooks/dev/templates/default/fpm.conf.erb
Fix typo
[chef.git] / cookbooks / dev / templates / default / fpm.conf.erb
1 ; DO NOT EDIT - This file is being maintained by Chef
2
3 [<%= @user %>]
4 listen = 127.0.0.1:<%= @port %>
5 listen.backlog = 256
6
7 user = <%= @user %>
8 group = <%= @user %>
9
10 pm = dynamic
11 pm.max_children = 10
12 pm.start_servers = 4
13 pm.min_spare_servers = 2
14 pm.max_spare_servers = 6
15 pm.max_requests = 10000
16
17 request_terminate_timeout = 1800
18
19 ;pm.status_path = /status
20 ;ping.path = /ping
21 ;ping.response = pong
22  
23 ;request_terminate_timeout = 0
24 ;request_slowlog_timeout = 0
25 ;slowlog = /var/log/php5-fpm.log.slow
26 ;rlimit_files = 1024
27 ;rlimit_core = 0
28 ;chroot = 
29 ;chdir = /var/www
30 ;catch_workers_output = yes
31  
32 env[HOSTNAME] = $HOSTNAME
33 env[PATH] = /usr/local/bin:/usr/bin:/bin
34 env[TMP] = /tmp
35 env[TMPDIR] = /tmp
36 env[TEMP] = /tmp
37
38 php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f <%= @user %>@errol.openstreetmap.org
39 php_admin_value[open_basedir] = /home/<%= @user %>/:/tmp/:/usr/share/php/
40 php_flag[display_errors] = on
41 ;php_admin_value[error_log] = /var/log/fpm-php.www.log
42 ;php_admin_flag[log_errors] = on
43 php_value[max_execution_time] = 300
44 php_value[memory_limit] = 128M
45 php_value[post_max_size] = 32M
46 php_value[upload_max_filesize] = 32M
47