Skip to content

Commit c14ef6c

Browse files
Baldinoftianon
authored andcommitted
Enable cgi bin for cli variant
1 parent 2fa5427 commit c14ef6c

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

Dockerfile-alpine.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ RUN set -xe \
111111
# make sure invalid --configure-flags are fatal errors intead of just warnings
112112
--enable-option-checking=fatal \
113113
\
114-
--disable-cgi \
115-
\
116114
# https://github.com/docker-library/php/issues/439
117115
--with-mhash \
118116
\

Dockerfile-debian.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ RUN set -eux; \
131131
# make sure invalid --configure-flags are fatal errors intead of just warnings
132132
--enable-option-checking=fatal \
133133
\
134-
--disable-cgi \
135-
\
136134
# https://github.com/docker-library/php/issues/439
137135
--with-mhash \
138136
\

apache-Dockerfile-block-1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ RUN { \
5656
&& a2enconf docker-php
5757

5858
ENV PHP_EXTRA_BUILD_DEPS apache2-dev
59-
ENV PHP_EXTRA_CONFIGURE_ARGS --with-apxs2
59+
ENV PHP_EXTRA_CONFIGURE_ARGS --with-apxs2 --disable-cgi

fpm-Dockerfile-block-1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data
1+
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

zts-Dockerfile-block-1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-maintainer-zts
1+
ENV PHP_EXTRA_CONFIGURE_ARGS --enable-maintainer-zts --disable-cgi

0 commit comments

Comments
 (0)