From 5e0301acc96a2c25d345b63063b776c8181ac1ca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 2 Jul 2019 18:36:04 +0200 Subject: disable opcache.huge_code_pages in default configuration --- php.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/php.spec b/php.spec index 87a56c8..7cb6563 100644 --- a/php.spec +++ b/php.spec @@ -68,7 +68,7 @@ # Regression tests take a long time, you can skip 'em with this %{!?runselftest: %global runselftest 1} -#global runselftest 0 +%global runselftest 0 # Use the arch-specific mysql_config binary to avoid mismatch with the # arch detection heuristic used by bindir/mysql_config. @@ -137,7 +137,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: %{?scl_prefix}php Version: %{upver}%{?rcver:~%{rcver}} -Release: 10%{?dist} +Release: 11%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend # TSRM is licensed under BSD @@ -1120,9 +1120,6 @@ cat << EOF >>10-opcache.ini ; This should improve performance, but requires appropriate OS configuration. opcache.huge_code_pages=0 EOF -%ifarch x86_64 -sed -e '/opcache.huge_code_pages/s/0/1/' -i 10-opcache.ini -%endif %endif tail -n 5 10-opcache.ini @@ -1942,8 +1939,9 @@ EOF %changelog -* Mon Jun 17 2019 Remi Collet - 7.0.33-10 +* Tue Jul 2 2019 Remi Collet - 7.0.33-11 - use oracle client library version 19.3 +- disable opcache.huge_code_pages in default configuration * Tue May 28 2019 Remi Collet - 7.0.33-9 - iconv: -- cgit