From 8ae57ae75b34b61fba499c0177fcfb2919eb2748 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 30 Nov 2015 07:21:07 +0100 Subject: php 7: set opcache.huge_code_pages=0 on EL-6 --- php.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/php.spec b/php.spec index d0316e0..3f8807c 100644 --- a/php.spec +++ b/php.spec @@ -131,7 +131,7 @@ #global gh_owner php #global gh_project php-src %global rcver RC8 -%global rpmrel 25 +%global rpmrel 26 Summary: PHP scripting language for creating dynamic web sites @@ -1028,8 +1028,10 @@ sed -e "s/@PHP_APIVER@/%{apiver}%{isasuffix}/" \ # Some extensions have their own configuration file cp %{SOURCE50} 10-opcache.ini %ifarch x86_64 +%if 0%{?rhel} != 6 sed -e '/opcache.huge_code_pages/s/0/1/' -i 10-opcache.ini %endif +%endif cp %{SOURCE51} . sed -e 's:%{_root_sysconfdir}:%{_sysconfdir}:' \ -i 10-opcache.ini @@ -1806,6 +1808,10 @@ fi %changelog +* Mon Nov 30 2015 Remi Collet 7.0.0-0.26.RC8 +- set opcache.huge_code_pages=0 on EL-6 + see https://bugs.php.net/70973 and https://bugs.php.net/70977 + * Wed Nov 25 2015 Remi Collet 7.0.0-0.25.RC8 - Update to 7.0.0RC8 - set opcache.huge_code_pages=1 on x86_64 -- cgit