!156 disable opcache.huge_code_pages on x86_64

From: @beta_dz 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2023-11-30 02:51:58 +00:00 committed by Gitee
commit 81d1d32a42
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/
@ -549,10 +549,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)
@ -1082,6 +1078,9 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || :
%{_mandir}/*
%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