Created
November 2, 2022 09:51
-
-
Save yariksheptykin/9fc9343cfd98a91d669eff0a6548454d to your computer and use it in GitHub Desktop.
This file contains 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
; Official docs from pimcore: https://pimcore.com/docs/pimcore/current/Development_Documentation/Installation_and_Upgrade/System_Setup_and_Hosting/Performance_Guide.html#page_Performance-Best-Practice-Guide | |
; PHP 8 OPcache and JIT compiler | |
opcache.enable=${OPCACHE_ENABLE} | |
opcache.enable_cli=${OPCACHE_ENABLE} | |
opcache.jit_buffer_size=256M | |
; Use the OPcache class preloading | |
opcache.preload_user=www-data | |
opcache.preload=${OPCACHE_PRELOAD_PATH} | |
; Configure OPcache for Maximum Performance | |
opcache.memory_consumption=256 | |
opcache.max_accelerated_files=20000 | |
; Don't Check PHP Files Timestamps | |
opcache.validate_timestamps=0 | |
; Configure the PHP realpath Cache | |
realpath_cache_size=4096 | |
realpath_cache_ttl=600 | |
; See: https://www.php.net/manual/en/ini.core.php#ini.memory-limit | |
memory_limit=${PHP_MEMORY_LIMIT} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment