Skip to content

Commit

Permalink
Add support for PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrich-schindler committed Jun 11, 2020
1 parent a0b059a commit eaac83e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-apache
FROM php:7.4-apache

######################################
# Install and configure dependencies #
Expand All @@ -13,6 +13,7 @@ RUN apt-get update \
g++ \
git \
gnupg \
libonig-dev \
libfreetype6 \
libicu-dev \
libjpeg-dev \
Expand All @@ -27,14 +28,14 @@ RUN apt-get update \
zip \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-install exif \
&& docker-php-ext-configure gd --with-jpeg-dir=/usr/ \
&& docker-php-ext-configure gd --with-jpeg \
&& docker-php-ext-install gd \
&& docker-php-ext-install intl \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install mysqli \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-install pdo_pgsql \
&& docker-php-ext-configure zip --with-libzip \
&& docker-php-ext-configure zip \
&& docker-php-ext-install zip \
&& a2enmod rewrite \

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Apache PHP - Docker image

This is Docker Image with advanced configuration based on [official Apachr-PHP image](https://github.com/docker-library/php)
This is Docker Image with advanced configuration based on [official Apache-PHP image](https://github.com/docker-library/php)
with preconfigured Apache and PHP. It also has tools for development such as Git, Composer, NPM, Grunt, Gulp and WebPack pre-installed.

0 comments on commit eaac83e

Please sign in to comment.