drupal
drupal copied to clipboard
Change default OPcache configure values for Maximum Perfomance
Drupal 8 use Symfony. The symfony documentation recommended change the OPcache configure values memory_consumption and max_accelerated_file for Maximum Performance: https://symfony.com/doc/current/performance.html#configure-opcache-for-maximum-performance
; 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