Created
June 26, 2013 19:48
-
-
Save Swop/5870975 to your computer and use it in GitHub Desktop.
Enable and configure OPCache in PHP 5.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable OPCache | |
zend_extension=/path/to/lib/php/extensions/no-debug-non-zts-20121212/opcache.so | |
# OPCache settings | |
opcache.memory_consumption=128 | |
opcache.interned_strings_buffer=8 | |
opcache.max_accelerated_files=4000 | |
opcache.revalidate_freq=60 | |
opcache.fast_shutdown=1 | |
opcache.enable_cli=1 | |
# If the application (or the framework it is built on) only uses annotations at development time | |
opcache.save_comments=0 | |
# Alternative to APC data cache : https://github.com/krakjoe/apcu (or Memcached) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment