From 45bfd1c2f4156dfe2394d0d6084d508bea1bcb1d Mon Sep 17 00:00:00 2001 From: Samuel Date: Tue, 25 Apr 2023 21:41:18 +0200 Subject: [PATCH] Update php to version 8.1 --- Dockerfile | 4 ++-- README.md | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 43196a6..eb7ee27 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:7.4-apache +FROM php:8.1.28-apache-bullseye LABEL maintainer="Andy Miller (@rhukster)" # Enable Apache Rewrite + Expires Module @@ -44,7 +44,7 @@ RUN { \ } > /usr/local/etc/php/conf.d/php-recommended.ini RUN pecl install apcu \ - && pecl install yaml-2.0.4 \ + && pecl install yaml-2.2.3 \ && docker-php-ext-enable apcu yaml # Set user to www-data diff --git a/README.md b/README.md index 372b4f5..0da468d 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ This currently is pretty minimal and uses: -* apache-2.4.38 +* apache-2.4.56 * GD library * Unzip library -* php7.4 -* php7.4-opcache -* php7.4-acpu -* php7.4-yaml +* php8.1 +* php8.1-opcache +* php8.1-acpu +* php8.1-yaml * cron * vim editor