Skip to content

Commit

Permalink
* UNIX sockets setup fixed socket naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
António P. P. Almeida committed Mar 18, 2012
1 parent 0fcff25 commit 8fffc6e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions fpm/pool.d/www0.conf
Expand Up @@ -24,8 +24,7 @@
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
listen = 127.0.0.1:9001

listen = /var/run/php-fpm.sock

; Set listen(2) backlog. A value of '-1' means unlimited.
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
Expand All @@ -37,7 +36,7 @@ listen = 127.0.0.1:9001
; must be separated by a comma. If this value is left blank, connections will be
; accepted from any ip address.
; Default Value: any
listen.allowed_clients = 127.0.0.1
;listen.allowed_clients = 127.0.0.1

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server. Many
Expand Down
4 changes: 2 additions & 2 deletions fpm/pool.d/www1.conf
Expand Up @@ -24,7 +24,7 @@
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
listen = 127.0.0.1:9002
listen = /var/run/php-fpm-zwei.sock

; Set listen(2) backlog. A value of '-1' means unlimited.
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
Expand All @@ -36,7 +36,7 @@ listen = 127.0.0.1:9002
; must be separated by a comma. If this value is left blank, connections will be
; accepted from any ip address.
; Default Value: any
listen.allowed_clients = 127.0.0.1
;listen.allowed_clients = 127.0.0.1

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server. Many
Expand Down
4 changes: 2 additions & 2 deletions fpm/pool.d/www2.conf
Expand Up @@ -24,7 +24,7 @@
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
listen = 127.0.0.1:9003
listen = /var/run/php-fpm-drei.sock

; Set listen(2) backlog. A value of '-1' means unlimited.
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
Expand All @@ -36,7 +36,7 @@ listen = 127.0.0.1:9003
; must be separated by a comma. If this value is left blank, connections will be
; accepted from any ip address.
; Default Value: any
listen.allowed_clients = 127.0.0.1
;listen.allowed_clients = 127.0.0.1

; Set permissions for unix socket, if one is used. In Linux, read/write
; permissions must be set in order to allow connections from a web server. Many
Expand Down

0 comments on commit 8fffc6e

Please sign in to comment.