Skip to content

Instantly share code, notes, and snippets.

@masutaka
Created February 10, 2014 17:16
Show Gist options
  • Save masutaka/8920206 to your computer and use it in GitHub Desktop.
Save masutaka/8920206 to your computer and use it in GitHub Desktop.
php-fpm.conf v5.5.9 diff
diff --git a/etc/php-fpm.conf b/etc/php-fpm.conf
index 00d3c1b..de7639a 100644
--- a/etc/php-fpm.conf
+++ b/etc/php-fpm.conf
@@ -145,8 +145,8 @@
; 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 = nobody
-group = nobody
+;user = nobody
+;group = nobody
; The address on which to accept FastCGI requests.
; Valid syntaxes are:
@@ -156,7 +156,7 @@ group = nobody
; specific port;
; '/path/to/unix/socket' - to listen on a unix socket.
; Note: This value is mandatory.
-listen = 127.0.0.1:9000
+listen = /usr/local/var/run/php5-fpm.sock
; Set listen(2) backlog.
; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
@masutaka
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment