diff options
author | Mickaël Thomas | 2016-01-03 22:24:55 +0100 |
---|---|---|
committer | Mickaël Thomas | 2016-01-03 22:27:43 +0100 |
commit | dc59ffcdf118e4884ef70599d3937839e5e5749e (patch) | |
tree | bb65886b14b4ab5b790c9b2eaf9fbc2bcefa936e /php-fpm.conf.in.patch | |
download | aur-dc59ffcdf118e4884ef70599d3937839e5e5749e.tar.gz |
Initial commmit
Diffstat (limited to 'php-fpm.conf.in.patch')
-rw-r--r-- | php-fpm.conf.in.patch | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/php-fpm.conf.in.patch b/php-fpm.conf.in.patch new file mode 100644 index 000000000000..f9721a1ac001 --- /dev/null +++ b/php-fpm.conf.in.patch @@ -0,0 +1,52 @@ +--- sapi/fpm/php-fpm.conf.in 2015-01-21 01:40:37.000000000 +0100 ++++ sapi/fpm/php-fpm.conf.in 2015-01-22 16:22:09.076969777 +0100 +@@ -12,7 +12,7 @@ + ; Relative path can also be used. They will be prefixed by: + ; - the global prefix if it's been set (-p argument) + ; - @prefix@ otherwise +-;include=etc/fpm.d/*.conf ++;include=/etc/php/fpm.d/*.conf + + ;;;;;;;;;;;;;;;;;; + ; Global Options ; +@@ -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/php-fpm.pid + + ; Error log file + ; If it's set to "syslog", log is sent to syslogd instead of being written +@@ -161,7 +161,8 @@ + ; (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 = 127.0.0.1:9000 ++listen = /run/php-fpm/php-fpm.sock + + ; Set listen(2) backlog. + ; Default Value: 65535 (-1 on FreeBSD and OpenBSD) +@@ -172,9 +173,9 @@ + ; BSD-derived systems allow connections regardless of permissions. + ; Default Values: user and group are set as the running user + ; mode is set to 0660 +-;listen.owner = @php_fpm_user@ +-;listen.group = @php_fpm_group@ +-;listen.mode = 0660 ++listen.owner = @php_fpm_user@ ++listen.group = @php_fpm_group@ ++listen.mode = 0660 + ; When POSIX Access Control Lists are supported you can set them using + ; these options, value is a comma separated list of user/group names. + ; When set, listen.owner and listen.group are ignored +@@ -476,7 +477,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 = /srv/http + + ; 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. |