File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
templates/etc/php/8.3/fpm/php.ini Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,9 @@ a2enconf \
155155# # Make sure to also review this patch when updating the PHP version, as the
156156# # line numbers / hunk contents could shift between config versions.
157157patch -d /etc/php/8.3/fpm/pool.d < $TEMPLATES_PATH /etc/php/8.3/fpm/pool.d/www.conf.patch
158+ patch /etc/php/8.3/fpm/php.ini < $TEMPLATES_PATH /etc/php/8.3/fpm/php.ini/php.patch
158159systemctl restart php8.3-fpm.service
160+ systemctl restart apache2.service
159161
160162echo " Configure Upload Service"
161163envsubst \
Original file line number Diff line number Diff line change 1+ @@@ Extend timeouts and memory limits
2+ --- php.ini
3+ +++ php.ini
4+ @@ -442,7 +442,7 @@
5+
6+ ; Maximum amount of memory a script may consume
7+ ; https://php.net/memory-limit
8+ - memory_limit = 128M
9+ + memory_limit = 1024M
10+
11+ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12+ ; Error handling and logging ;
13+ @@ -1468,7 +1468,7 @@
14+ ; After this number of seconds, stored data will be seen as 'garbage' and
15+ ; cleaned up by the garbage collection process.
16+ ; https://php.net/session.gc-maxlifetime
17+ - session.gc_maxlifetime = 1440
18+ + session.gc_maxlifetime = 2592000
19+
20+ ; NOTE: If you are using the subdirectory option for storing session files
21+ ; (see session.save_path above), then garbage collection does *not*
You can’t perform that action at this time.
0 commit comments