summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-11-30 07:21:07 +0100
committerRemi Collet <fedora@famillecollet.com>2015-11-30 07:21:07 +0100
commit8ae57ae75b34b61fba499c0177fcfb2919eb2748 (patch)
tree926a91ba8740616f75c904e23f8048c19d0b1b2f
parentb0d772da0fedbefc66acb39f23f569c90f675798 (diff)
php 7: set opcache.huge_code_pages=0 on EL-6
-rw-r--r--php.spec8
1 files changed, 7 insertions, 1 deletions
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 <remi@fedoraproject.org> 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 <remi@fedoraproject.org> 7.0.0-0.25.RC8
- Update to 7.0.0RC8
- set opcache.huge_code_pages=1 on x86_64