Skip to content

Commit 1a0f430

Browse files
authored
Add FTP ext to PHP 8.2 and 8.3
1 parent 5177d65 commit 1a0f430

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

images/php/8.2-cli/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV MAGENTO_RUN_MODE production
2929
ENV SENDMAIL_PATH /dev/null
3030
ENV PHPRC ${MAGENTO_ROOT}/php.ini
3131

32-
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl
32+
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp
3333

3434
# Configure Node.js version
3535
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash
@@ -114,7 +114,8 @@ RUN docker-php-ext-install -j$(nproc) \
114114
tidy \
115115
xsl \
116116
zip \
117-
pcntl
117+
pcntl \
118+
ftp
118119

119120
RUN pecl install -o -f \
120121
gnupg \

images/php/8.2-fpm/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ENV UPLOAD_MAX_FILESIZE 64M
2222
ENV SENDMAIL_PATH /dev/null
2323
ENV PHPRC ${MAGENTO_ROOT}/php.ini
2424

25-
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl
25+
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp
2626

2727
# Install dependencies
2828
RUN apt-get update \
@@ -89,7 +89,8 @@ RUN docker-php-ext-install -j$(nproc) \
8989
tidy \
9090
xsl \
9191
zip \
92-
pcntl
92+
pcntl \
93+
ftp
9394

9495
RUN pecl install -o -f \
9596
gnupg \

images/php/8.3-cli/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV MAGENTO_RUN_MODE production
2929
ENV SENDMAIL_PATH /dev/null
3030
ENV PHPRC ${MAGENTO_ROOT}/php.ini
3131

32-
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl
32+
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp
3333

3434
# Configure Node.js version
3535
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash
@@ -114,7 +114,8 @@ RUN docker-php-ext-install -j$(nproc) \
114114
tidy \
115115
xsl \
116116
zip \
117-
pcntl
117+
pcntl \
118+
ftp
118119

119120
RUN pecl install -o -f \
120121
gnupg \

images/php/8.3-fpm/Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ENV UPLOAD_MAX_FILESIZE 64M
2222
ENV SENDMAIL_PATH /dev/null
2323
ENV PHPRC ${MAGENTO_ROOT}/php.ini
2424

25-
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl
25+
ENV PHP_EXTENSIONS bcmath bz2 calendar exif gd gettext intl mysqli opcache pdo_mysql redis soap sockets sodium sysvmsg sysvsem sysvshm xsl zip pcntl ftp
2626

2727
# Install dependencies
2828
RUN apt-get update \
@@ -89,7 +89,8 @@ RUN docker-php-ext-install -j$(nproc) \
8989
tidy \
9090
xsl \
9191
zip \
92-
pcntl
92+
pcntl \
93+
ftp
9394

9495
RUN pecl install -o -f \
9596
gnupg \

0 commit comments

Comments
 (0)