Created
August 20, 2023 17:05
-
-
Save nvalerkos/a45cd484c95fda24e52871a978188296 to your computer and use it in GitHub Desktop.
opcache config /etc/php/7.4/fpm/conf.d/10-opcache.ini
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
opcache.enable=1 | |
opcache.enable_cli=1 | |
opcache.memory_consumption=512 | |
opcache.interned_strings_buffer=8 | |
opcache.max_accelerated_files=16000 | |
opcache.revalidate_freq=60 | |
opcache.validate_permission=1 | |
opcache.use_cwd=1 | |
opcache.revalidate_path=1 | |
opcache.enable_file_override=1 | |
opcache.fast_shutdown=1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test config with requests
ab -n 1000 -c 200 https://example.com
check usage with:
https://github.com/amnuts/opcache-gui
check config:
php -i | grep opcache