!157 [sync] PR-156: disable opcache.huge_code_pages on x86_64

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-02-27 09:46:25 +00:00 committed by Gitee
commit 535c4db118
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <beta@yfqm.date> - 8.0.30-2
- disable opcache.huge_code_pages on x86_64
* Fri Aug 4 2023 Funda Wang <fundawang@yeah.net> - 8.0.30-1
- CVE-2023-3823, CVE-2023-3824
- update to 8.0.30