Skip to content

Commit 9307702

Browse files
Add php.ini settings
1 parent 50abb55 commit 9307702

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ RUN apt-get update && apt-get install -y \
1616
&& docker-php-ext-install -j$(nproc) gd pdo pdo_mysql zip mysqli intl
1717
RUN a2enmod rewrite && a2enmod deflate && a2enmod filter && a2enmod expires
1818

19+
# Custom php.ini
20+
COPY php/custom-php.ini /usr/local/etc/php/conf.d/
21+
1922
# Locale
2023
ENV LC_ALL C.UTF-8
2124
ENV LANG C.UTF-8

php/custom-php.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[php]
2+
upload_max_filesize = 350M
3+
post_max_size = 350M
4+
memory_limit = 400M

0 commit comments

Comments
 (0)