diff --git a/mapserver/Dockerfile b/mapserver/Dockerfile index d60247e407c2e75190e63569ca6f6b9bdd70cc22..77ecdd8ee29840873e21552b1be0f0291c830fc4 100644 --- a/mapserver/Dockerfile +++ b/mapserver/Dockerfile @@ -66,12 +66,12 @@ ENV APACHE_SERVER_NAME localhost # install httpd runtime dependencies # https://httpd.apache.org/docs/2.4/install.html#requirements -RUN apt-get -y install apache2 && \ +RUN apt-get -y install apache2 libapache2-mod-fcgid && \ ls /etc/apache2/mods-available && \ ls /etc/apache2/mods-enabled && \ apt-get -y install libapache2-mod-php7.3 php7.3-common php7.3-cli php7.3-fpm php7.3 && \ - a2enmod actions proxy_fcgi setenvif cgi && \ - a2enconf php7.3-fpm && \ + a2enmod actions proxy_fcgi setenvif cgi fcgid && \ + a2enconf php7.3-fpm serve-cgi-bin && \ apt-get -y clean && \ rm -rf /var/lib/apt/lists/*