From 404b0aa15ee37845b488f5f29d5728eddebb2362 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Adam=20Go=C5=82=C4=99biowski?= Date: Mon, 20 Mar 2023 15:42:54 +0100 Subject: [PATCH] - updated to 8.2.4 --- php-ini.patch | 11 ++++++++--- php-silent-session-cleanup.patch | 2 +- php.spec | 6 +++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/php-ini.patch b/php-ini.patch index 559fee0..c19d4dc 100644 --- a/php-ini.patch +++ b/php-ini.patch @@ -241,7 +241,7 @@ ; (time to live) Sets the number of second while cached file will be used ; instead of original one. -@@ -1674,160 +1674,6 @@ +@@ -1674,165 +1674,6 @@ [dba] ;dba.default_handler= @@ -368,8 +368,13 @@ -;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. --;opcache.huge_code_pages=1 +-; 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. -;opcache.validate_permission=0 diff --git a/php-silent-session-cleanup.patch b/php-silent-session-cleanup.patch index 1c004a3..12b3015 100644 --- a/php-silent-session-cleanup.patch +++ b/php-silent-session-cleanup.patch @@ -5,6 +5,6 @@ dir = opendir(ZSTR_VAL(dirname)); if (!dir) { - php_error_docref(NULL, E_NOTICE, "ps_files_cleanup_dir: opendir(%s) failed: %s (%d)", ZSTR_VAL(dirname), strerror(errno), errno); - return (0); + return -1; } diff --git a/php.spec b/php.spec index f00664e..207ea03 100644 --- a/php.spec +++ b/php.spec @@ -142,7 +142,7 @@ %define ver_suffix 82 %define php_suffix %{!?with_default_php:%{ver_suffix}} %define subver %{nil} -%define rel 2 +%define rel 1 Summary: PHP: Hypertext Preprocessor Summary(fr.UTF-8): Le langage de script embarque-HTML PHP Summary(pl.UTF-8): Język skryptowy PHP @@ -150,7 +150,7 @@ Summary(pt_BR.UTF-8): A linguagem de script PHP Summary(ru.UTF-8): PHP - язык препроцессирования HTML-файлов, выполняемый на сервере Summary(uk.UTF-8): PHP - мова препроцесування HTML-файлів, виконувана на сервері Name: %{orgname}%{php_suffix} -Version: 8.2.3 +Version: 8.2.4 Release: %{rel} Epoch: 4 # All files licensed under PHP version 3.01, except @@ -159,7 +159,7 @@ Epoch: 4 License: PHP 3.01 and Zend and BSD Group: Libraries Source0: https://www.php.net/distributions/%{orgname}-%{version}.tar.xz -# Source0-md5: cb768cf744184e64d48b15305c437336 +# Source0-md5: 43c5fa2cf3428e9692cd9d424e71664f #Source0: https://downloads.php.net/~pierrick/php-%{version}%{subver}.tar.xz Source1: opcache.ini Source2: %{orgname}-mod_php.conf -- 2.44.0