Browse Source

fix bug

main
xiaoz 1 year 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
&& docker-php-ext-enable imagick \ && docker-php-ext-enable imagick \
&& pecl install redis \ && pecl install redis \
&& no | docker-php-ext-enable 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 \ && apk del freetype-dev libjpeg-turbo-dev libpng-dev libxml2-dev libxslt-dev autoconf g++ make imagemagick-dev \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/* \
&& mkdir -p /usr/local/log/
# 复制自定义PHP-FPM配置文件到容器 # 复制自定义PHP-FPM配置文件到容器

6
php74/php.ini

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

Loading…
Cancel
Save