Setting up opcache in LSWS native


Active Member
Hello all,

I have setup a few sites with LSWS-native completely for testing purpose. The issue here is Opcache doesn't seems to be improving any perfromance/response time when turned on along with Litespeed cache. When I turn on LScache alone, the site is giving best perfromance, but if I enable opcache along with LScache there is no improvements noted. Is it becaus the opcache is not configured/tweaked correctly.
Looking forward for your responses!
Thanks in advance.

Jon K

Staff member
When LSCache is enabled then PHP is actually never run so OPCache wouldn't be used/needed. OPCache will help up speed up PHP pages that cannot be cached.