diff --git a/10-opcache.ini b/10-opcache.ini index d188ef0624a784428a53d816f601eca523bfa217..b6e6b0b6f1cb3bf859c497634b9b7d0591287c6f 100644 --- a/10-opcache.ini +++ b/10-opcache.ini @@ -115,7 +115,12 @@ opcache.blacklist_filename=/etc/php.d/opcache*.blacklist ;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. +; 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. diff --git a/php.spec b/php.spec index 10d292b9ac657b1cb7adc21658343774abfcc1ec..0677a136bb909a2bc3975b4bec9dba7981d02da5 100644 --- a/php.spec +++ b/php.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 # API/ABI check %global apiver 20220829 @@ -761,7 +761,10 @@ rm -f TSRM/tsrm_win32.h \ # Fix some bogus permissions find . -name \*.[ch] -exec chmod 644 {} \; +chmod 644 README.* +# Some extensions have their own configuration file +cp %{SOURCE50} %{SOURCE51} %{SOURCE53} . %build # This package fails to build with LTO due to undefined symbols. LTO @@ -1488,6 +1491,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %changelog +* Tue Feb 21 2023 Funda Wang - 8.2.3-2 +- Add back forgotten ini files for opcache and ffi + * Tue Feb 14 2023 Funda Wang - 8.2.3-1 - New version 8.2.3