JezK
Edit File: 99-opcache-tuning.ini
; Server OPcache standard - applied during pre-migration hardening ; Overrides 10-opcache.ini (loaded later alphabetically, so these win). ; Kept in a separate file so RPM updates to the opcache package do not ; clobber it and do not generate .rpmnew conflicts. ; ; SIZING NOTE: under LiteSpeed LSAPI with phpSuExec, each cPanel user runs ; its own lsphp pool and therefore its OWN OPcache segment. This value is ; consumed PER ACCOUNT and counts against that account's LVE PMEM (1024M). ; 128M leaves headroom for ~3 workers at memory_limit=256M. Do not raise ; this without raising LVE PMEM in step with it. opcache.enable=1 opcache.enable_cli=0 opcache.memory_consumption=128 opcache.interned_strings_buffer=16 opcache.max_accelerated_files=20000 ; Must stay on for shared hosting - users edit files and expect changes live. opcache.validate_timestamps=1 opcache.revalidate_freq=2 ; Required: disabling this breaks WordPress/Doctrine annotation parsing. opcache.save_comments=1 ; Required on shared hosting - re-checks file readability per access so one ; user's cached opcodes cannot be served to another. opcache.validate_permission=1 ; JIT deliberately left off (jit_buffer_size=0). It adds little for typical ; web workloads and carries stability risk on shared infrastructure.