From a8f29a2ef34a5ef71f68131822dee6b61aae8a44 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Tue, 21 Feb 2023 21:09:06 +0800 Subject: [PATCH] Add back forgotten ini files for opcache and ffi --- 10-opcache.ini | 7 ++++++- php.spec | 8 +++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/10-opcache.ini b/10-opcache.ini index d188ef0..b6e6b0b 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 10d292b..0677a13 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 -- Gitee