com php-src: Added two missing opcache ini directives (restrict_api and mmap_base): php.ini-develop ment php.ini-production
| From: | Stanislav Malyshev | Date: | Sat, 31 Jan 2015 17:45:01 +0000 |
| Subject: | com php-src: Added two missing opcache ini directives (restrict_api and mmap_base): php.ini-develop ment php.ini-production | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84522@lists.php.net to get a copy of this message | ||
Commit: 9b6f8bfd4d3d9e64ba8024742661e0147c1ea1b9
Author: PeeHaa <info@pieterhordijk.com> Sat, 31 Jan 2015 18:45:01 +0100
Parents: cb42fe6777fe7acd602d55b42337b64790b7cd1a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=9b6f8bfd4d3d9e64ba8024742661e0147c1ea1b9
Log:
Added two missing opcache ini directives (restrict_api and mmap_base)
Changed paths:
M php.ini-development
M php.ini-production
Diff:
diff --git a/php.ini-development b/php.ini-development
index c619678..9cf44fb 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1957,6 +1957,16 @@ ldap.max_links = -1
; Useful for internal debugging only.
;opcache.protect_memory=0
+; Allows calling OPcache API functions only from PHP scripts which path is
+; started from specified string. The default "" means no restriction
+;opcache.restrict_api=
+
+; Mapping base of shared memory segments (for Windows only). All the PHP
+; processes have to map shared memory into the same address space. This
+; directive allows to manually fix the "Unable to reattach to base address"
+; errors.
+;opcache.mmap_base=
+
[curl]
; A default value for the CURLOPT_CAINFO option.. This is required to be an
; absolute path.
diff --git a/php.ini-production b/php.ini-production
index 1310f6c..2c3fa4d 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1957,6 +1957,16 @@ ldap.max_links = -1
; Useful for internal debugging only.
;opcache.protect_memory=0
+; Allows calling OPcache API functions only from PHP scripts which path is
+; started from specified string. The default "" means no restriction
+;opcache.restrict_api=
+
+; Mapping base of shared memory segments (for Windows only). All the PHP
+; processes have to map shared memory into the same address space. This
+; directive allows to manually fix the "Unable to reattach to base address"
+; errors.
+;opcache.mmap_base=
+
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.