Initial commit.

Changes to be committed:
	new file:   data/www/phpinfo.php
	new file:   docker-compose.yml
	new file:   php81-apache/Dockerfile
	new file:   php81-apache/conf.d/zz_post_max_size.ini
	new file:   php81-apache/conf.d/zz_upload_max_filesize.ini
This commit is contained in:
Christoph Lampe
2023-02-18 18:06:02 +01:00
parent 91e8ef26ab
commit 59e28dff7d
5 changed files with 55 additions and 0 deletions

20
php81-apache/Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
FROM php:8.1-apache
RUN apt-get update && \
apt-get install libc-client-dev libzip-dev \
zlib1g-dev libicu-dev libpng-dev -y
RUN docker-php-ext-install zip intl gd
RUN docker-php-ext-enable zip intl gd opcache
RUN apt-get purge libc-client-dev libzip-dev \
zlib1g-dev libicu-dev libpng-dev -y \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
COPY conf.d/* $PHP_INI_DIR/conf.d/
CMD ["apache2-foreground"]

View File

@@ -0,0 +1,2 @@
post_max_size = 16M;

View File

@@ -0,0 +1,2 @@
upload_max_filesize = 16M;