summaryrefslogtreecommitdiff
path: root/php.ini-production
diff options
context:
space:
mode:
authorPeeHaa <info@pieterhordijk.com>2015-01-31 18:45:01 +0100
committerPeeHaa <info@pieterhordijk.com>2015-01-31 18:45:01 +0100
commit9b6f8bfd4d3d9e64ba8024742661e0147c1ea1b9 (patch)
tree168d6995feeb8a23a481e31723ce865521993995 /php.ini-production
parentcb42fe6777fe7acd602d55b42337b64790b7cd1a (diff)
downloadphp-git-9b6f8bfd4d3d9e64ba8024742661e0147c1ea1b9.tar.gz
Added two missing opcache ini directives (restrict_api and mmap_base)
Diffstat (limited to 'php.ini-production')
-rw-r--r--php.ini-production10
1 files changed, 10 insertions, 0 deletions
diff --git a/php.ini-production b/php.ini-production
index 1310f6c1c6..2c3fa4d307 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.