summaryrefslogtreecommitdiffstats
path: root/etc/php
diff options
context:
space:
mode:
Diffstat (limited to 'etc/php')
-rw-r--r--etc/php/cli-php8.1/php.ini14
1 files changed, 12 insertions, 2 deletions
diff --git a/etc/php/cli-php8.1/php.ini b/etc/php/cli-php8.1/php.ini
index 33a1da5..debba8d 100644
--- a/etc/php/cli-php8.1/php.ini
+++ b/etc/php/cli-php8.1/php.ini
@@ -425,6 +425,11 @@ max_input_time = 60
; How many GET/POST/COOKIE input variables may be accepted
;max_input_vars = 1000
+; How many multipart body parts (combined input variable and file uploads) may
+; be accepted.
+; Default Value: -1 (Sum of max_input_vars and max_file_uploads)
+;max_multipart_body_parts = 1500
+
; Maximum amount of memory a script may consume
; https://php.net/memory-limit
memory_limit = 128M
@@ -1890,8 +1895,13 @@ ldap.max_links = -1
;opcache.file_cache_fallback=1
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
-; This should improve performance, but requires appropriate OS configuration.
-;opcache.huge_code_pages=1
+; Under certain circumstances (if only a single global PHP process is
+; started from which all others fork), this can increase performance
+; by a tiny amount because TLB misses are reduced. On the other hand, this
+; delays PHP startup, increases memory usage and degrades performance
+; under memory pressure - use with care.
+; Requires appropriate OS configuration.
+;opcache.huge_code_pages=0
; Validate cached file permissions.
;opcache.validate_permission=0