$OpenBSD: patch-sapi_fpm_php-fpm_conf_in,v 1.2 2015/01/23 16:10:28 robert Exp $
--- sapi/fpm/php-fpm.conf.in.orig.port	Fri Jan 23 17:05:28 2015
+++ sapi/fpm/php-fpm.conf.in	Fri Jan 23 17:06:21 2015
@@ -146,8 +146,9 @@
 ; Unix user/group of processes
 ; Note: The user is mandatory. If the group is not set, the default user's group
 ;       will be used.
-user = @php_fpm_user@
-group = @php_fpm_group@
+listen.owner = www
+listen.group = www
+listen.mode = 0660
 
 ; The address on which to accept FastCGI requests.
 ; Valid syntaxes are:
@@ -161,7 +162,7 @@ group = @php_fpm_group@
 ;                            (IPv6 and IPv4-mapped) on a specific port;
 ;   '/path/to/unix/socket' - to listen on a unix socket.
 ; Note: This value is mandatory.
-listen = 127.0.0.1:9000
+listen = /var/www/run/php-fpm.sock
 
 ; Set listen(2) backlog.
 ; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
@@ -471,7 +472,7 @@ pm.max_spare_servers = 3
 ;       possible. However, all PHP paths will be relative to the chroot
 ;       (error_log, sessions.save_path, ...).
 ; Default Value: not set
-;chroot = 
+chroot = /var/www
  
 ; Chdir to this directory at the start.
 ; Note: relative path can be used.
