İçeriğe atla

Symfony Performans Arttırma

PHP yi PHP-FPM olarak ayarların APCU ve Opcache kurun

PHP.ini de aşagıdaki gibi değiştirin

; 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

opcache.validate_timestamps=0

; php.ini
; maximum memory allocated to store the results
realpath_cache_size=4096K

; save the results for 10 minutes (600 seconds)
realpath_cache_ttl=600