docker-symfony
docker-symfony copied to clipboard
PHP - Configure OPcache for Maximum Performance
The default OPcache configuration is not suited for Symfony applications, so it's recommended to change these settings as follows:
; php.ini
; maximum memory that OPcache can use to store compiled PHP files
opcache.memory_consumption=256
; maximum number of files that can be stored in the cache
opcache.max_accelerated_files=20000