Browse Source

优化配置

main
xiaoz 1 year ago
parent
commit
8df018ebb0
  1. 3
      php74/Dockerfile
  2. 1
      php74/www.conf

3
php74/Dockerfile

@ -11,7 +11,8 @@ RUN apk add --no-cache autoconf g++ make libxslt libxslt-dev libxml2 libxml2-dev @@ -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配置文件到容器

1
php74/www.conf

@ -33,7 +33,6 @@ group = www-data @@ -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)

Loading…
Cancel
Save