php: fpm sapi: install php-fpm.conf
authorFloris Bos <bos@je-eigen-domein.nl>
Fri, 1 May 2015 18:12:34 +0000 (20:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 2 May 2015 07:44:25 +0000 (09:44 +0200)
commit0fc93e20f24d61fa459e84b7f126293d34e7cfe9
tree1df0e0936a94fa844be8ff98fc54cb0bf7803f70
parent8eeb14578679f956e7902b0dd0d0c41336ca39f9
php: fpm sapi: install php-fpm.conf

Install a custom php-fpm.conf instead of the stock one.

- Listening on /var/run/php-fpm.sock instead of TCP port so we can
  restrict access to webserver user www-data.
- Using ondemand pm, so PHP children are only started after a PHP
  request, instead of kept resident all the time.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/php/php-fpm.conf [new file with mode: 0644]
package/php/php.mk