!LOCAL Update php.ini with upstream changes, bump memory limit to 8G
This commit is contained in:
		@@ -348,13 +348,13 @@ disable_classes =
 | 
			
		||||
; the file operations performed.
 | 
			
		||||
; Note: if open_basedir is set, the cache is disabled
 | 
			
		||||
; https://php.net/realpath-cache-size
 | 
			
		||||
;realpath_cache_size = 4096k
 | 
			
		||||
realpath_cache_size = 4096k
 | 
			
		||||
 | 
			
		||||
; Duration of time, in seconds for which to cache realpath information for a given
 | 
			
		||||
; file or directory. For systems with rarely changing files, consider increasing this
 | 
			
		||||
; value.
 | 
			
		||||
; https://php.net/realpath-cache-ttl
 | 
			
		||||
;realpath_cache_ttl = 120
 | 
			
		||||
realpath_cache_ttl = 120
 | 
			
		||||
 | 
			
		||||
; Enables or disables the circular reference collector.
 | 
			
		||||
; https://php.net/zend.enable-gc
 | 
			
		||||
@@ -432,7 +432,7 @@ max_input_time = 60
 | 
			
		||||
 | 
			
		||||
; Maximum amount of memory a script may consume
 | 
			
		||||
; https://php.net/memory-limit
 | 
			
		||||
memory_limit = 2048M
 | 
			
		||||
memory_limit = 8G
 | 
			
		||||
 | 
			
		||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 | 
			
		||||
; Error handling and logging ;
 | 
			
		||||
@@ -854,12 +854,8 @@ file_uploads = On
 | 
			
		||||
; https://php.net/upload-max-filesize
 | 
			
		||||
upload_max_filesize = 10G
 | 
			
		||||
 | 
			
		||||
; Max timeout for the server
 | 
			
		||||
; https://help.nextcloud.com/t/504-gateway-timeout-for-large-file-uploads/87839
 | 
			
		||||
request_terminate_timeout = 600
 | 
			
		||||
 | 
			
		||||
; Maximum number of files that can be uploaded via a single request
 | 
			
		||||
max_file_uploads = 20
 | 
			
		||||
max_file_uploads = 100
 | 
			
		||||
 | 
			
		||||
;;;;;;;;;;;;;;;;;;
 | 
			
		||||
; Fopen wrappers ;
 | 
			
		||||
@@ -1793,14 +1789,14 @@ opcache.enable=1
 | 
			
		||||
opcache.enable_cli=1
 | 
			
		||||
 | 
			
		||||
; The OPcache shared memory storage size.
 | 
			
		||||
opcache.memory_consumption=128
 | 
			
		||||
opcache.memory_consumption=256
 | 
			
		||||
 | 
			
		||||
; The amount of memory for interned strings in Mbytes.
 | 
			
		||||
opcache.interned_strings_buffer=16
 | 
			
		||||
opcache.interned_strings_buffer=24
 | 
			
		||||
 | 
			
		||||
; The maximum number of keys (scripts) in the OPcache hash table.
 | 
			
		||||
; Only numbers between 200 and 1000000 are allowed.
 | 
			
		||||
opcache.max_accelerated_files=4000
 | 
			
		||||
opcache.max_accelerated_files=10000
 | 
			
		||||
 | 
			
		||||
; The maximum percentage of "wasted" memory until a restart is scheduled.
 | 
			
		||||
;opcache.max_wasted_percentage=5
 | 
			
		||||
@@ -1818,7 +1814,7 @@ opcache.validate_timestamps=1
 | 
			
		||||
; How often (in seconds) to check file timestamps for changes to the shared
 | 
			
		||||
; memory storage allocation. ("1" means validate once per second, but only
 | 
			
		||||
; once per request. "0" means always validate)
 | 
			
		||||
opcache.revalidate_freq=60
 | 
			
		||||
opcache.revalidate_freq=1
 | 
			
		||||
 | 
			
		||||
; Enables or disables file search in include_path optimization
 | 
			
		||||
;opcache.revalidate_path=0
 | 
			
		||||
@@ -1976,3 +1972,10 @@ opcache.save_comments=1
 | 
			
		||||
 | 
			
		||||
; List of headers files to preload, wildcard patterns allowed.
 | 
			
		||||
;ffi.preload=
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
; Useful Nextcloud optimizations and additions
 | 
			
		||||
apc.enable_cli=1
 | 
			
		||||
opcache.jit_buffer_size = 128M
 | 
			
		||||
opcache.jit = tracing
 | 
			
		||||
opcache.jit = 1235
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user