From eb5937a6be2119da7ea88c287309afce9b0f4554 Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Tue, 3 Dec 2024 20:49:27 +0100 Subject: [PATCH] update php-fpm --- rootfs/etc/php7/php-fpm.d/www.conf | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/rootfs/etc/php7/php-fpm.d/www.conf b/rootfs/etc/php7/php-fpm.d/www.conf index dcdeb66..82d5da7 100644 --- a/rootfs/etc/php7/php-fpm.d/www.conf +++ b/rootfs/etc/php7/php-fpm.d/www.conf @@ -13,7 +13,22 @@ error_log = /dev/stderr ; (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 = /run/php-fpm.sock + +; 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 +; BSD-derived systems allow connections regardless of permissions. The owner +; and group can be specified either by name or by their numeric IDs. +; Default Values: user and group are set as the running user +; mode is set to 0660 +listen.owner = nobody +listen.group = nobody +;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 +;listen.acl_users = +;listen.acl_groups = ; Enable status page pm.status_path = /fpm-status @@ -53,4 +68,4 @@ catch_workers_output = yes decorate_workers_output = no ; Enable ping page to use in healthcheck -ping.path = /fpm-ping +ping.path = /fpm-ping \ No newline at end of file