Skip to content

Commit a26bac7

Browse files
committed
Merge branch 'PHP-8.2'
2 parents f9ad37e + ffdd75a commit a26bac7

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

php.ini-development

+6-1
Original file line numberDiff line numberDiff line change
@@ -1910,7 +1910,12 @@ ldap.max_links = -1
19101910
;opcache.file_cache_fallback=1
19111911

19121912
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
1913-
; This should improve performance, but requires appropriate OS configuration.
1913+
; Under certain circumstances (if only a single global PHP process is
1914+
; started from which all others fork), this can increase performance
1915+
; by a tiny amount because TLB misses are reduced. On the other hand, this
1916+
; delays PHP startup, increases memory usage and degrades performance
1917+
; under memory pressure - use with care.
1918+
; Requires appropriate OS configuration.
19141919
;opcache.huge_code_pages=0
19151920

19161921
; Validate cached file permissions.

php.ini-production

+7-2
Original file line numberDiff line numberDiff line change
@@ -1912,8 +1912,13 @@ ldap.max_links = -1
19121912
;opcache.file_cache_fallback=1
19131913

19141914
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
1915-
; This should improve performance, but requires appropriate OS configuration.
1916-
;opcache.huge_code_pages=1
1915+
; Under certain circumstances (if only a single global PHP process is
1916+
; started from which all others fork), this can increase performance
1917+
; by a tiny amount because TLB misses are reduced. On the other hand, this
1918+
; delays PHP startup, increases memory usage and degrades performance
1919+
; under memory pressure - use with care.
1920+
; Requires appropriate OS configuration.
1921+
;opcache.huge_code_pages=0
19171922

19181923
; Validate cached file permissions.
19191924
;opcache.validate_permission=0

0 commit comments

Comments
 (0)