Skip to content

Opcache: exposed more knobs

Compare
Choose a tag to compare
@bryanlatten bryanlatten released this 25 Nov 20:19
· 43 commits to master since this release
bd2a203

Updated:

  • docker-nginx base updated to 8.9

Changed:

  • Opcache is enabled by default on CLI

Added:

  • PHP_OPCACHE_FILE_CACHE choose a folder to back in-memory opcache
  • PHP_OPCACHE_ENABLE_CLI set to 0 to disable
  • PHP_OPCACHE_PRELOAD set a file to run at server or CLI start, example in /etc/php/preload.php