disable opcache.huge_code_pages on x86_64

Signed-off-by: beta <beta@yfqm.date>
(cherry picked from commit 79da7dcfc9313df44649bf11a81be9672fc6ba06)
This commit is contained in:
beta 2023-11-07 00:34:14 +08:00 committed by openeuler-sync-bot
parent 445b85bc31
commit 7a8133a8d2

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