diff options
-rw-r--r-- | PHPINFO | 6 | ||||
-rw-r--r-- | REFLECTION | 4 | ||||
-rw-r--r-- | apcu-5.1.25.ini (renamed from apcu-5.1.19.ini) | 9 | ||||
-rw-r--r-- | php-pecl-apcu.spec | 31 |
4 files changed, 30 insertions, 20 deletions
@@ -2,12 +2,12 @@ apcu APCu Support => Enabled -Version => 5.1.25 +Version => 5.1.26 APCu Debugging => Disabled MMAP Support => Enabled -MMAP File Mask => /tmp/apc.MgbMqF +MMAP File Mask => /tmp/apc.W1LoGg Serialization Support => php, brotli, igbinary, lz4, msgpack, snappy, zstd -Build Date => Jul 29 2025 00:00:00 +Build Date => Aug 6 2025 00:00:00 Directive => Local Value => Master Value apc.enabled => On => On @@ -1,4 +1,4 @@ -Extension [ <persistent> extension #67 apcu version 5.1.25 ] { +Extension [ <persistent> extension #67 apcu version 5.1.26 ] { - INI { Entry [ apc.enabled <SYSTEM> ] @@ -46,7 +46,7 @@ Extension [ <persistent> extension #67 apcu version 5.1.25 ] { } - Constants [16] { - Constant [ int ] { 140170565342720 } + Constant [ int ] { 140365786420736 } Constant [ int APC_LIST_ACTIVE ] { 1 } Constant [ int APC_LIST_DELETED ] { 2 } Constant [ int APC_ITER_TYPE ] { 1 } diff --git a/apcu-5.1.19.ini b/apcu-5.1.25.ini index dacb938..b459a91 100644 --- a/apcu-5.1.19.ini +++ b/apcu-5.1.25.ini @@ -36,11 +36,18 @@ apc.enabled=1 ; A "hint" about the number variables expected in the cache. ; Set to zero or omit if you are not sure; -;apc.entries_hint=4096 +; Defaults to 512 entries per 1MB of shared memory. +;apc.entries_hint=0 ; The mktemp-style file_mask to pass to the mmap module apc.mmap_file_mask=/tmp/apc.XXXXXX +; To use huge pages of a certain size for the apcu shared memory segment. +; This requires support for huge pages to be enabled in the kernel. +; Note that even if this option is not set, shared memory is still configured +; to use transparent huge pages. +;apc.mmap_hugepage_size=0 + ; On very busy servers whenever you start the server or ; modify files you can create a race of many processes ; all trying to cache the same data at the same time. diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec index 71f4706..f9207ef 100644 --- a/php-pecl-apcu.spec +++ b/php-pecl-apcu.spec @@ -14,10 +14,8 @@ %bcond_without tests -%global gh_commit b771cd50a7fe519b6aaccbe5dc97594e68e0c88f -%global gh_short %(c=%{gh_commit}; echo ${c:0:7}) -%global gh_owner krakjoe -%global gh_project apcu +%global pie_vend apcu +%global pie_proj apcu %global pecl_name apcu %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini @@ -26,12 +24,12 @@ Name: %{?scl_prefix}php-pecl-apcu Summary: APC User Cache -Version: 5.1.25 +Version: 5.1.26 License: PHP-3.01 URL: https://pecl.php.net/package/APCu Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz -Source1: %{pecl_name}-5.1.19.ini +Source1: %{pecl_name}-5.1.25.ini Source2: %{pecl_name}-panel.conf Source3: %{pecl_name}.conf.php @@ -43,11 +41,13 @@ BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} -Obsoletes: %{?scl_prefix}php-apcu < 4.0.0-1 -Provides: %{?scl_prefix}php-apcu = %{version} -Provides: %{?scl_prefix}php-apcu%{?_isa} = %{version} -Provides: %{?scl_prefix}php-pecl(apcu) = %{version} -Provides: %{?scl_prefix}php-pecl(apcu)%{?_isa} = %{version} +Obsoletes: %{?scl_prefix}php-apcu < 4.0.0-1 +Provides: %{?scl_prefix}php-apcu = %{version} +Provides: %{?scl_prefix}php-apcu%{?_isa} = %{version} +Provides: %{?scl_prefix}php-pecl(apcu) = %{version} +Provides: %{?scl_prefix}php-pecl(apcu)%{?_isa} = %{version} +Provides: %{?scl_prefix}php-pie(%{pie_vend}/%{pie_proj}) = %{version} +Provides: %{?scl_prefix}php-%{pie_vend}-%{pie_proj} = %{version} %description @@ -185,9 +185,6 @@ done %check cd %{sources} -# see https://github.com/krakjoe/apcu/pull/579 -sed -e 's/%s/%A/' -i tests/apc_entry_003.phpt - %if 0%{?rhel} == 8 # Erratic results rm tests/apc_mmap_hugepage_002.phpt @@ -246,6 +243,12 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Aug 6 2025 Remi Collet <remi@remirepo.net> - 5.1.26-1 +- update to 5.1.26 + +* Wed Jul 30 2025 Remi Collet <remi@remirepo.net> - 5.1.25-2 +- rebuild for 8.5.0alpha3 + * Tue Jul 29 2025 Remi Collet <remi@remirepo.net> - 5.1.25-1 - update to 5.1.25 |