Browse Source

fix bug

main
xiaoz 12 months ago
parent
commit
5d0e2a0c3c
  1. 5
      php74/Dockerfile
  2. 6
      php74/php.ini

5
php74/Dockerfile

@ -9,8 +9,9 @@ RUN apk add --no-cache autoconf g++ make libxslt libxslt-dev libxml2 libxml2-dev @@ -9,8 +9,9 @@ RUN apk add --no-cache autoconf g++ make libxslt libxslt-dev libxml2 libxml2-dev
&& docker-php-ext-enable imagick \
&& pecl install redis \
&& no | docker-php-ext-enable redis \
&& apk del freetype-dev libjpeg-turbo-dev libpng-dev icu-dev libxml2-dev libxslt-dev autoconf g++ make imagemagick-dev \
&& rm -rf /var/cache/apk/*
&& 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/
# 复制自定义PHP-FPM配置文件到容器

6
php74/php.ini

@ -948,9 +948,9 @@ default_socket_timeout = 60 @@ -948,9 +948,9 @@ default_socket_timeout = 60
;extension=xmlrpc
;extension=xsl
extension=imagick.so
extension=fileinfo.so
extension=redis.so
;extension=imagick.so
;extension=fileinfo.so
;extension=redis.so
;;;;;;;;;;;;;;;;;;;
; Module Settings ;

Loading…
Cancel
Save