From 8df018ebb0f74c47108a2d810ff2d0ef222ae514 Mon Sep 17 00:00:00 2001 From: xiaoz Date: Wed, 22 Nov 2023 16:48:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- php74/Dockerfile | 3 ++- php74/www.conf | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/php74/Dockerfile b/php74/Dockerfile index 0984edc..0421d57 100644 --- a/php74/Dockerfile +++ b/php74/Dockerfile @@ -11,7 +11,8 @@ RUN apk add --no-cache autoconf g++ make libxslt libxslt-dev libxml2 libxml2-dev && no | docker-php-ext-enable redis \ && apk del freetype-dev libjpeg-turbo-dev libpng-dev libxml2-dev libxslt-dev autoconf g++ make imagemagick-dev \ && rm -rf /var/cache/apk/* \ - && mkdir -p /usr/local/log + && mkdir -p /usr/local/log \ + && sed -i 's/9000/127.0.0.1:9074/' /usr/local/etc/php-fpm.d/zz-docker.conf # 复制自定义PHP-FPM配置文件到容器 diff --git a/php74/www.conf b/php74/www.conf index d28796f..f287b2b 100644 --- a/php74/www.conf +++ b/php74/www.conf @@ -33,7 +33,6 @@ group = www-data ; (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:9074 ; Set listen(2) backlog. ; Default Value: 511 (-1 on FreeBSD and OpenBSD)