Skip to content

Commit 79353de

Browse files
committed
add ftp extension
1 parent e837734 commit 79353de

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

images/php/8.4-cli/Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ ENV PHP_EXTENSIONS="\
3939
intl \
4040
mysqli \
4141
opcache \
42-
pdo_\
43-
mysql \
42+
pdo_mysql \
4443
redis \
4544
soap \
4645
sockets \
@@ -50,7 +49,8 @@ ENV PHP_EXTENSIONS="\
5049
sysvshm \
5150
xsl \
5251
zip \
53-
pcntl"
52+
pcntl \
53+
ftp"
5454

5555
# Configure Node.js version
5656
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash
@@ -134,7 +134,8 @@ RUN docker-php-ext-install -j$(nproc) \
134134
tidy \
135135
xsl \
136136
zip \
137-
pcntl
137+
pcntl \
138+
ftp
138139

139140
RUN pecl install -o -f \
140141
gnupg \

images/php/8.4-fpm/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ ENV PHP_EXTENSIONS="\
4242
sysvshm \
4343
xsl \
4444
zip \
45-
pcntl"
45+
pcntl \
46+
ftp"
4647

4748
# Install dependencies
4849
RUN apt-get update \
@@ -108,7 +109,8 @@ RUN docker-php-ext-install -j$(nproc) \
108109
tidy \
109110
xsl \
110111
zip \
111-
pcntl
112+
pcntl \
113+
ftp
112114

113115
RUN pecl install -o -f \
114116
gnupg \

0 commit comments

Comments
 (0)