diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-11-30 07:21:07 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-11-30 07:21:07 +0100 |
commit | 8ae57ae75b34b61fba499c0177fcfb2919eb2748 (patch) | |
tree | 926a91ba8740616f75c904e23f8048c19d0b1b2f | |
parent | b0d772da0fedbefc66acb39f23f569c90f675798 (diff) |
php 7: set opcache.huge_code_pages=0 on EL-6
-rw-r--r-- | php.spec | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |