Skip to content

Commit eaac83e

Browse files
Add support for PHP 7.4
1 parent a0b059a commit eaac83e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.3-apache
1+
FROM php:7.4-apache
22

33
######################################
44
# Install and configure dependencies #
@@ -13,6 +13,7 @@ RUN apt-get update \
1313
g++ \
1414
git \
1515
gnupg \
16+
libonig-dev \
1617
libfreetype6 \
1718
libicu-dev \
1819
libjpeg-dev \
@@ -27,14 +28,14 @@ RUN apt-get update \
2728
zip \
2829
&& rm -rf /var/lib/apt/lists/* \
2930
&& docker-php-ext-install exif \
30-
&& docker-php-ext-configure gd --with-jpeg-dir=/usr/ \
31+
&& docker-php-ext-configure gd --with-jpeg \
3132
&& docker-php-ext-install gd \
3233
&& docker-php-ext-install intl \
3334
&& docker-php-ext-install mbstring \
3435
&& docker-php-ext-install mysqli \
3536
&& docker-php-ext-install pdo_mysql \
3637
&& docker-php-ext-install pdo_pgsql \
37-
&& docker-php-ext-configure zip --with-libzip \
38+
&& docker-php-ext-configure zip \
3839
&& docker-php-ext-install zip \
3940
&& a2enmod rewrite \
4041

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Apache PHP - Docker image
22

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

0 commit comments

Comments
 (0)