Files
michaelschiemer/docker/php/php.production.ini

35 lines
1.0 KiB
INI

; php.ini für Produktion
include = php.common.ini
[opcache]
; Aktiviere OPcache
opcache.enable=1
; Aktiviere OPcache für CLI-Anwendungen (optional)
opcache.enable_cli=0
; Maximale Speichernutzung für Cache in MB
opcache.memory_consumption=128
; Maximale Anzahl an gecachten Dateien
opcache.max_accelerated_files=10000
; Wie oft wird der Cache validiert (0 = bei jedem Request)
; TEMPORÄR: 0 für einfachere Deployments während aktiver Entwicklung
; SPÄTER: Auf 60 erhöhen wenn System stabil ist
opcache.revalidate_freq=0
; Cache-Zeitstempel prüfen
; TEMPORÄR: 1 aktiviert für Deployment-Flexibilität
; SPÄTER: Auf 0 setzen für maximale Performance wenn stabil
opcache.validate_timestamps=1
; Performance-Optimierungen
opcache.interned_strings_buffer=16
; JIT (Just-In-Time Compilation) - Optional für PHP 8.0+
opcache.jit_buffer_size=100M
opcache.jit=1255
display_errors = Off
display_startup_errors = Off
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
memory_limit = 256M
upload_max_filesize = 10M
post_max_size = 12M
max_execution_time = 30