Skip to content

Commit 0d74362

Browse files
committed
Merge branch 'PHP-8.2'
2 parents 061fcdb + a8c387e commit 0d74362

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

sapi/fpm/www.conf.in

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@
1717
; Default Value: none
1818
;prefix = /path/to/pools/$pool
1919

20-
; Unix user/group of processes
21-
; Note: The user is mandatory. If the group is not set, the default user's group
22-
; will be used.
20+
; Unix user/group of the child processes. This can be used only if the master
21+
; process running user is root. It is set after the child process is created.
22+
; The user and group can be specified either by their name or by their numeric
23+
; IDs.
24+
; Note: If the user is root, the executable needs to be started with
25+
--allow-to-run-as-root option to work.
26+
; Default Values: The user is set to master process running user by default.
27+
; If the group is not set, the user's group is used.
2328
user = @php_fpm_user@
2429
group = @php_fpm_group@
2530

@@ -43,11 +48,12 @@ listen = 127.0.0.1:9000
4348
; permissions must be set in order to allow connections from a web server. Many
4449
; BSD-derived systems allow connections regardless of permissions. The owner
4550
; and group can be specified either by name or by their numeric IDs.
46-
; Default Values: user and group are set as the running user
47-
; mode is set to 0660
51+
; Default Values: Owner is set to the master process running user. If the group
52+
; is not set, the owner's group is used. Mode is set to 0660.
4853
;listen.owner = @php_fpm_user@
4954
;listen.group = @php_fpm_group@
5055
;listen.mode = 0660
56+
5157
; When POSIX Access Control Lists are supported you can set them using
5258
; these options, value is a comma separated list of user/group names.
5359
; When set, listen.owner and listen.group are ignored

0 commit comments

Comments
 (0)