32 lines
941 B
INI
32 lines
941 B
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, empfohlen für Entwicklung)
|
|
; In Produktion höher setzen für bessere Performance
|
|
opcache.revalidate_freq=60
|
|
; Cache-Zeitstempel prüfen (0 für Produktionsumgebungen)
|
|
opcache.validate_timestamps=0
|
|
; 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
|