diff options
Diffstat (limited to 'recipes-devtools/php/files/php-fpm.conf.patch')
-rw-r--r-- | recipes-devtools/php/files/php-fpm.conf.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-devtools/php/files/php-fpm.conf.patch b/recipes-devtools/php/files/php-fpm.conf.patch new file mode 100644 index 0000000..6125b67 --- /dev/null +++ b/recipes-devtools/php/files/php-fpm.conf.patch @@ -0,0 +1,30 @@ +diff -Naru old/php-fpm.conf new/php-fpm.conf +--- old/php-fpm.conf 2017-06-21 12:52:47.597947428 -0500 ++++ new/php-fpm.conf 2017-06-21 13:10:03.225916769 -0500 +@@ -22,7 +22,7 @@ + ; Pid file + ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ + ; Default Value: none +-;pid = run/php-fpm.pid ++pid = run/php-fpm.pid + + ; Error log file + ; If it's set to "syslog", log is sent to syslogd instead of being written +@@ -161,7 +161,7 @@ + ; (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/run/php-fpm.socket + + ; Set listen(2) backlog. + ; Default Value: 65535 (-1 on FreeBSD and OpenBSD) +@@ -476,7 +476,7 @@ + ; Chdir to this directory at the start. + ; Note: relative path can be used. + ; Default Value: current directory or / when chroot +-;chdir = /var/www ++;chdir = /www + + ; Redirect worker stdout and stderr into main error log. If not set, stdout and + ; stderr will be redirected to /dev/null according to FastCGI specs. |