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)