diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-09-17 12:58:08 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-09-17 12:58:08 +0300 |
commit | 24fc74d412e9a1da24c51a6d943c1022d2e702b1 (patch) | |
tree | 38ffda5b5fd691d0bc9e7f95786427e2e2377e58 /UPGRADING | |
parent | 41a184be1048eb47e05427008e35345423d03553 (diff) | |
download | php-git-24fc74d412e9a1da24c51a6d943c1022d2e702b1.tar.gz |
Update information about new opcache features
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 21 |
1 files changed, 9 insertions, 12 deletions
@@ -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=<DIR> 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=<DIR> 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 |