summaryrefslogtreecommitdiffstats
path: root/2.4
diff options
context:
space:
mode:
Diffstat (limited to '2.4')
-rw-r--r--2.4/Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/2.4/Dockerfile b/2.4/Dockerfile
index 1c536ae..e33ff5d 100644
--- a/2.4/Dockerfile
+++ b/2.4/Dockerfile
@@ -2,7 +2,7 @@ FROM httpd:alpine
ARG ENABLE_PROXY=0
ARG ENABLE_DAV=0
-ARG ENABLE_PHP5=0
+ARG ENABLE_PHP=0
ARG EXTRA_PACKAGES=""
ARG EXTRA_MODULES=""
@@ -17,8 +17,8 @@ COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
RUN set -ex; \
# Install openssl if we need to generate a self-signed certificate.
packages="${EXTRA_PACKAGES} openssl apr-util-dbm_db"; \
- if [ ${ENABLE_PHP5} -ne 0 ]; then \
- packages="$packages php5-apache2"; \
+ if [ ${ENABLE_PHP} -ne 0 ]; then \
+ packages="$packages php7-apache2"; \
fi; \
apk add --no-cache $packages; \
# Create empty default DocumentRoot.
@@ -38,8 +38,8 @@ RUN set -ex; \
if [ ${ENABLE_DAV} -ne 0 ]; then \
modules="$modules dav dav_fs"; \
fi; \
- if [ ${ENABLE_PHP5} -ne 0 ]; then \
- modules="$modules php5"; \
+ if [ ${ENABLE_PHP} -ne 0 ]; then \
+ modules="$modules php7"; \
fi; \
for i in $modules; do \
sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; \