best PHP: 8.1< for speed
best CL config: max RAM, max (v)CPU Cores, amount of (entry) Sessions, ... (should say it depends on amount of customers and websites what makes sense)
more speed: add caching (sitecache litespeed, php cache OpcodeCache, objectcache Redis); good mysql config