From 24fc74d412e9a1da24c51a6d943c1022d2e702b1 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 17 Sep 2015 12:58:08 +0300 Subject: [PATCH] Update information about new opcache features --- UPGRADING | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/UPGRADING b/UPGRADING index 5c8526db29..aa5f82c49a 100644 --- a/UPGRADING +++ b/UPGRADING @@ -546,19 +546,16 @@ Other (RFC: https://wiki.php.net/rfc/easy_userland_csprng) - Opcache - . Added second level file based opcode cache (experimental - disabled by - default). To enable it, PHP should be configured and built with - --enable-opcache-file, then opcache.file_cache= configuration directive - should be set in php.ini. The second level cache may improve performance - at server restart or SHM reset. In addition, it's possibe to use file cache - without SHM at all, using opcache.file_cache_only=1 (this may be useful for - sharing hosting), and disable file cache consistency check, to speedup - loading at the cost of safety, using opcache.file_cache_consistency_checks=0. - . Added an experimental ability to move PHP code pages (PHP TEXT segment) into - HUGE pages. To enable it, PHP should be configured and built with - --enable-huge-code-pages, OS should be configured to provide huge pages. + . Added second level file based opcode cache. It may be enabled by setting + opcache.file_cache= configuration directive in php.ini. The second + level cache may improve performance when SHM is full, at server restart or + SHM reset. In addition, it's possibe to use file cache without SHM at all, + using opcache.file_cache_only=1 (this may be useful for sharing hosting), + and disable file cache consistency check, to speedup loading at the cost of + safety, using opcache.file_cache_consistency_checks=0. + . Added ability to move PHP code pages (PHP TEXT segment) into HUGE pages. It's possible to enable/disable this feature in php.ini through - opcache.huge_code_pages=0/1. + opcache.huge_code_pages=0/1. OS should be configured to provide huge pages. - OpenSSL . Added "alpn_protocols" SSL context option allowing encrypted client/server -- 2.40.0