From 953a02c8e17be67e290257ba3da790febba2fe61 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 16 Aug 2019 08:19:33 +0200 Subject: Change to php7 --- 2.4/Dockerfile | 10 +++++----- 1 file 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"; \ -- cgit v1.2.3