Skip to content

Commit

Permalink
Increase PHP post_max_size from 8M to 16M.
Browse files Browse the repository at this point in the history
Manage metadata push to EB can be over 8 MB when you have thousands
of entities, so increase it a bit. Cannot be set at runtime for only
the push endpoint unfortunately. Do not increase it too much as this
would be a DoS risk.
  • Loading branch information
thijskh committed Oct 30, 2023
1 parent 49270f4 commit 09a868f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/engineblock/templates/engine-pool-72.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ slowlog = /var/log/php-fpm/www-slow.log
php_admin_value[error_log] = /var/log/php-fpm/engine-error.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = {{ engine_fpm_memory }}
php_admin_value[post_max_size] = 16M

; Set session path to a directory owned by process user
php_value[session.save_handler] = files
Expand Down

0 comments on commit 09a868f

Please sign in to comment.