Skip to content

Commit

Permalink
Merge pull request #29 from abbeymaniak/docker-apache-pdo
Browse files Browse the repository at this point in the history
added mod rewrite to allow htacess functional
  • Loading branch information
jcavat authored Nov 1, 2021
2 parents db23ec8 + 306db13 commit 7baa4fe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
FROM php:7.3-apache
RUN docker-php-ext-install mysqli pdo_mysql
FROM php:7.2-apache
RUN a2enmod rewrite
RUN docker-php-ext-install pdo pdo_mysql
RUN apt-get update \
&& apt-get install -y libzip-dev \
&& apt-get install -y zlib1g-dev \
Expand Down

0 comments on commit 7baa4fe

Please sign in to comment.