Skip to content

Commit b045ba7

Browse files
committed
Add "--enable-option-checking=fatal" to ./configure invocations
1 parent fbb775a commit b045ba7

File tree

33 files changed

+99
-0
lines changed

33 files changed

+99
-0
lines changed

5.6/alpine3.4/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ RUN set -xe \
112112
--with-config-file-path="$PHP_INI_DIR" \
113113
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
114114
\
115+
# make sure invalid --configure-flags are fatal errors intead of just warnings
116+
--enable-option-checking=fatal \
117+
\
115118
--disable-cgi \
116119
\
117120
# https://github.com/docker-library/php/issues/439

5.6/alpine3.4/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

5.6/alpine3.4/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

5.6/jessie/apache/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ RUN set -eux; \
191191
--with-config-file-path="$PHP_INI_DIR" \
192192
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
193193
\
194+
# make sure invalid --configure-flags are fatal errors intead of just warnings
195+
--enable-option-checking=fatal \
196+
\
194197
--disable-cgi \
195198
\
196199
# https://github.com/docker-library/php/issues/439

5.6/jessie/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ RUN set -eux; \
132132
--with-config-file-path="$PHP_INI_DIR" \
133133
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
134134
\
135+
# make sure invalid --configure-flags are fatal errors intead of just warnings
136+
--enable-option-checking=fatal \
137+
\
135138
--disable-cgi \
136139
\
137140
# https://github.com/docker-library/php/issues/439

5.6/jessie/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

5.6/jessie/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ RUN set -eux; \
133133
--with-config-file-path="$PHP_INI_DIR" \
134134
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
135135
\
136+
# make sure invalid --configure-flags are fatal errors intead of just warnings
137+
--enable-option-checking=fatal \
138+
\
136139
--disable-cgi \
137140
\
138141
# https://github.com/docker-library/php/issues/439

7.0/alpine3.4/cli/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ RUN set -xe \
112112
--with-config-file-path="$PHP_INI_DIR" \
113113
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
114114
\
115+
# make sure invalid --configure-flags are fatal errors intead of just warnings
116+
--enable-option-checking=fatal \
117+
\
115118
--disable-cgi \
116119
\
117120
# https://github.com/docker-library/php/issues/439

7.0/alpine3.4/fpm/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

7.0/alpine3.4/zts/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ RUN set -xe \
113113
--with-config-file-path="$PHP_INI_DIR" \
114114
--with-config-file-scan-dir="$PHP_INI_DIR/conf.d" \
115115
\
116+
# make sure invalid --configure-flags are fatal errors intead of just warnings
117+
--enable-option-checking=fatal \
118+
\
116119
--disable-cgi \
117120
\
118121
# https://github.com/docker-library/php/issues/439

0 commit comments

Comments
 (0)