diff options
author | Dmitry Stogov <dmitry@zend.com> | 2015-05-06 23:46:49 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2015-05-06 23:46:49 +0300 |
commit | 3abde432314787f697533c88e7afd64946676306 (patch) | |
tree | ebcba1326f8844a0f90c41ffdd28bf5c9092644c /ext/opcache/config.w32 | |
parent | 500b884f17d76629cb066da55145a83659b8acfb (diff) | |
download | php-git-3abde432314787f697533c88e7afd64946676306.tar.gz |
Added experimental (disabled by default) file based opcode cache.
Diffstat (limited to 'ext/opcache/config.w32')
-rw-r--r-- | ext/opcache/config.w32 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/opcache/config.w32 b/ext/opcache/config.w32 index edcbc320c6..dcc2501ffc 100644 --- a/ext/opcache/config.w32 +++ b/ext/opcache/config.w32 @@ -1,9 +1,15 @@ ARG_ENABLE("opcache", "whether to enable Zend OPcache support", "yes"); +ARG_ENABLE("opcache-file", "whether to enable file based caching (experimental)", "no"); + var PHP_OPCACHE_PGO = false; if (PHP_OPCACHE != "no") { + if (PHP_OPCACHE_FILE == "yes") { + AC_DEFINE('HAVE_OPCACHE_FILE_CACHE', 1, 'Define to enable file based caching (experimental)'); + } + EXTENSION('opcache', "\ ZendAccelerator.c \ zend_accelerator_blacklist.c \ @@ -13,6 +19,7 @@ if (PHP_OPCACHE != "no") { zend_accelerator_util_funcs.c \ zend_persist.c \ zend_persist_calc.c \ + zend_file_cache.c \ zend_shared_alloc.c \ shared_alloc_win32.c", true, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); |