Skip to content

Commit

Permalink
add debian 6 support back
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie committed Jun 25, 2013
1 parent 6421b99 commit 22a3da7
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions setup-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,22 @@ suhosin.post.max_array_index_length = 256
suhosin.request.max_totalname_length = 8192
suhosin.post.max_totalname_length = 8192
suhosin.sql.bailout_on_error = Off
END

mv /etc/php5/fpm/pool.d/www.conf /root/bkps/www.conf

cat > /etc/php5/fpm/pool.d/www.conf <<END
[www]
user = www-data
group = www-data
listen = /var/run/php5-fpm.sock
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
chdir = /
END

if [ -f /etc/php5/fpm/php.ini ]
Expand Down

0 comments on commit 22a3da7

Please sign in to comment.