File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,12 @@ RUN phpenmod bcmath
5656RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.3/apache2/php.ini
5757RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php/8.3/cli/php.ini
5858
59+ RUN sed -i 's/post_max_size = .*/post_max_size = 10M/' /etc/php/8.3/apache2/php.ini
60+ RUN sed -i 's/post_max_size = .*/post_max_size = 10M/' /etc/php/8.3/cli/php.ini
61+
62+ RUN sed -i 's/upload_max_filesize = .*/upload_max_filesize = 5M/' /etc/php/8.3/apache2/php.ini
63+ RUN sed -i 's/upload_max_filesize = .*/upload_max_filesize = 5M/' /etc/php/8.3/cli/php.ini
64+
5965RUN useradd -m --uid 10000 --gid 50 docker
6066
6167RUN echo export APACHE_RUN_USER=docker >> /etc/apache2/envvars
Original file line number Diff line number Diff line change @@ -43,6 +43,9 @@ COPY docker/column-statistics.cnf /etc/mysql/conf.d/column-statistics.cnf
4343RUN mkdir -p /run/apache2 && chown apache:apache /run/apache2
4444
4545RUN sed -i 's/variables_order = .*/variables_order = "EGPCS"/' /etc/php82/php.ini
46+ RUN sed -i 's/upload_max_filesize = .*/upload_max_filesize = 5M/' /etc/php82/php.ini
47+ RUN sed -i 's/post_max_size = .*/post_max_size = 10M/' /etc/php82/php.ini
48+
4649COPY docker/000-default-2.4.conf /etc/apache2/conf.d/default.conf
4750
4851# Enable mod_rewrite
You can’t perform that action at this time.
0 commit comments