From 7a8133a8d20f0b1eae00437fa0779ce1160c8a24 Mon Sep 17 00:00:00 2001 From: beta Date: Tue, 7 Nov 2023 00:34:14 +0800 Subject: [PATCH] disable opcache.huge_code_pages on x86_64 Signed-off-by: beta (cherry picked from commit 79da7dcfc9313df44649bf11a81be9672fc6ba06) --- php.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/php.spec b/php.spec index d32b9a9..6b9d409 100644 --- a/php.spec +++ b/php.spec @@ -26,7 +26,7 @@ Name: php Version: %{upver} -Release: 1 +Release: 2 Summary: PHP scripting language for creating dynamic web sites License: PHP-3.01 and Zend-2.0 and BSD and MIT and ASL 1.0 and NCSA URL: http://www.php.net/ @@ -550,10 +550,6 @@ chmod 644 README.* cp %{SOURCE50} %{SOURCE51} %{SOURCE52} . -%ifarch x86_64 -sed -e '/opcache.huge_code_pages/s/0/1/' -i 10-opcache.ini -%endif - %build export SOURCE_DATE_EPOCH=$(date +%s -r NEWS) @@ -1087,6 +1083,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %changelog +* Tue Nov 7 2023 beta - 8.0.30-2 +- disable opcache.huge_code_pages on x86_64 + * Fri Aug 4 2023 Funda Wang - 8.0.30-1 - CVE-2023-3823, CVE-2023-3824 - update to 8.0.30 -- Gitee