If the server runs cPanel/WHM, run LiteSpeed Enterprise. It is the only edition with a WHM plugin, the only one that consumes Apache’s own configuration and each account’s .htaccess unchanged, and the only one you can hand back to Apache with a single switch. Run OpenLiteSpeed when you own the whole stack — one application, your own Linux box, a CyberPanel install, a DirectAdmin build — and you accept keeping rewrite rules in the server’s own configuration and taking a graceful restart for every virtual-host change. Neither the response header nor the install path tells you which edition you inherited: both send Server: LiteSpeed and both live in /usr/local/lsws/. The binary and the licence files do.
What you’ll accomplish
- Choose an edition from the constraints that actually decide it — control panel,
.htaccess, ESI, vendor support — rather than from a benchmark. - Tell the two editions apart on a server you inherited, using the binary and the licence files instead of the
Serverheader, which readsLiteSpeedon both. - Confirm PHP is running through LSAPI rather than a leftover FPM or CGI handler that quietly undoes the reason LiteSpeed was installed.
- Prove LSCache is caching at the server level, not just installed as a WordPress plugin that nothing is listening to.
- Put a cPanel server back on Apache deliberately, and know how to check that it stayed there.
Prerequisites
- Root on the server. Every check below reads files under
/usr/local/lsws/or inspects running processes. - Either cPanel/WHM or a plain Linux host. Both editions install to the same prefix,
/usr/local/lsws/, which is why servers get misidentified. - A WordPress virtual host if you want to run the LSCache checks against a real response.
- A maintenance window on OpenLiteSpeed. Applying a virtual-host change there is a graceful restart, not a no-op.
- Commands assume LiteSpeed Enterprise 6.x or OpenLiteSpeed 1.7/1.8, and on cPanel a current cPanel & WHM release with EasyApache 4.
The comparison, line by line
| What differs | LiteSpeed Enterprise | OpenLiteSpeed |
|---|---|---|
.htaccess handling | Read per request with a short cache TTL. Rewrite, auth and header directives apply as soon as the file is saved. | Not read per request. Rewrite rules belong in the vhost rewrite block; recent releases can import a document root’s rewrite rules, but only when the server starts. |
| Apache config compatibility | Parses httpd.conf and the vhost includes cPanel generates, without translation. | None. Its own httpd_config.conf plus one vhconf.conf per virtual host. |
| Worker/process model | Event-driven workers, typically one per core, set by workers. The licence tier caps how high that value may go. | Same event-driven model and same workers directive, with no licence-imposed ceiling. |
| PHP handling | LSAPI, with persistent lsphp children. | LSAPI, with persistent lsphp children. Identical fast path. |
| LSCache | Built into the server. ESI supported, so a public page can carry private fragments. | Ships as cache.so, which must be loaded and enabled. No ESI. |
| cPanel/WHM integration | Vendor WHM plugin, EasyApache 4 aware, per-account handling managed from WHM. | No cPanel/WHM integration. Each account would have to be wired up by hand. |
| Admin console | Native WebAdmin console on port 7080, but on cPanel most day-to-day settings are the panel’s and Apache’s. | WebAdmin console on port 7080 is the primary place configuration is edited. |
| Concurrency ceiling | maxConnections per worker, multiplied by the worker count the licence tier permits. | maxConnections per worker, multiplied by whatever the hardware sustains. |
| Migration path from Apache | Drop-in. Existing configuration is consumed as it stands, and the switch back is one action. | Configuration must be re-expressed in OpenLiteSpeed syntax, and there is no automatic way back. |
Panel support settles this more often than performance does. cPanel/WHM integration exists only for Enterprise, as does the Plesk LiteSpeed extension. DirectAdmin’s CustomBuild installs either edition, and CyberPanel is built on OpenLiteSpeed while also supporting Enterprise. Licensing follows the same split: Enterprise is sold per server in tiers defined by worker count and domains served, making the licence a recurring operational item, while OpenLiteSpeed is GPL software with nothing to track. If you inherited a server whose licence is close to expiry, see renewing a LiteSpeed licence on cPanel.
How it works
Both editions share the same core: the same HTTP/1.1, HTTP/2 and HTTP/3 stack, the same TLS termination, the same LSAPI protocol for talking to PHP. A WordPress request costing 90 ms of PHP time on one costs about 90 ms on the other, so edition-versus-edition benchmarks mostly measure noise. What differs is where configuration comes from and when a change to it takes effect.
Enterprise is a drop-in Apache replacement, and that is the entire product. It parses Apache’s httpd.conf and the include files cPanel generates for every account, so vhost definitions, document roots, SSL configuration and PHP handler assignments all come across without translation. It then reads .htaccess per request, honouring mod_rewrite syntax, authentication directives and header directives the way Apache would. That is why the swap is close to invisible on a shared-hosting box: customers keep editing .htaccess, WordPress keeps rewriting its permalink block, and nobody touches server config.
OpenLiteSpeed is not an Apache replacement, and does not pretend to be. Rewrite rules belong in the vhost’s rewrite block, and anything that is not a rewrite directive — Header set, php_value, AuthType — has no .htaccess path at all. The practical consequence is the one that bites: a virtual-host change requires a graceful restart (lswsctrl restart), which spawns new worker processes and drains the old ones, whereas on Enterprise a .htaccess edit is live on the next request with no restart.
LSCache sits in front of PHP on both editions, as a server module that answers a hit before lsphp is ever asked to run. The one caching feature genuinely limited to Enterprise is ESI, which lets LSCache serve a public page with private fragments punched into it — the mechanism behind logged-in WooCommerce cart widgets. If you need that, OpenLiteSpeed is out.
For how both editions compare against the servers they usually replace, see LiteSpeed, Apache and Nginx compared.
Step-by-step
-
Identify the edition from the binary, not the header. Both editions install into
/usr/local/lsws/, but only one of the two server binaries will exist.ls /usr/local/lsws/bin/ | grep -E '^(lshttpd|openlitespeed)$'On an Enterprise server this prints one name:
lshttpdThen ask that binary for its version. Enterprise identifies itself with an
Enterprisesuffix, OpenLiteSpeed withOpen:/usr/local/lsws/bin/lshttpd -vLiteSpeed/6.3.1 EnterpriseThe OpenLiteSpeed equivalent is
/usr/local/lsws/bin/openlitespeed -v, which reports something likeLiteSpeed/1.8.3 Open. -
Check the response header, and know what it does not tell you. This is the step most people get wrong.
curl -sI https://example.com/ | grep -i '^server:'server: LiteSpeedBoth editions send exactly that. It proves the server is not Apache or Nginx, and nothing more. Never use it to establish the edition.
-
Check the licence state. Enterprise keeps its licence material in the config directory. OpenLiteSpeed has none of these files.
ls -l /usr/local/lsws/conf/*.key /usr/local/lsws/conf/serial.no 2>/dev/nullA licensed Enterprise server shows a key file and a serial:
-rw-r--r-- 1 root root 216 Mar 14 09:22 /usr/local/lsws/conf/license.key -rw-r--r-- 1 root root 19 Mar 14 09:22 /usr/local/lsws/conf/serial.noA
trial.keyinstead oflicense.keymeans the server is on a trial that will expire and take the site down with it. Licence warnings are logged, so grep for them first:grep -i license /usr/local/lsws/logs/error.log | tail -n 5 -
Find the WHM plugin. On cPanel, the Enterprise integration registers a WHM plugin. Directory names have changed across plugin versions, so look rather than assume:
ls /usr/local/cpanel/whostmgr/docroot/cgi/ | grep -i lslswsIf that listing has nothing LiteSpeed-shaped in it, the server is running the binary without the panel integration, so WHM is not managing the switch between Apache and LiteSpeed.
-
Verify LSAPI is handling PHP. On cPanel, ask cPanel directly which SAPI each PHP version is configured with:
/usr/local/cpanel/bin/rebuild_phpconf --currentDEFAULT PHP: ea-php82 ea-php74 SAPI: lsapi ea-php82 SAPI: lsapiAnything other than
lsapion the versions that matter means those requests are not using the fast path. Confirm at runtime that persistentlsphpchildren exist:ps -eo pid,rss,args | grep '[l]sphp' | head -n 31841 48120 lsphp: /usr/local/lsws/lsphp82/bin/lsphp 1842 47996 lsphp: /usr/local/lsws/lsphp82/bin/lsphpOn OpenLiteSpeed there is no cPanel to ask, so read the handler out of the virtual host’s own config, replacing
<vhname>with the virtual host name:grep -A3 -i scripthandler /usr/local/lsws/conf/vhosts/<vhname>/vhconf.confscripthandler { add lsapi:lsphp82 php } -
Confirm the cache module is present and enabled. On OpenLiteSpeed the module is a shared object that has to exist:
ls -l /usr/local/lsws/modules/cache.soOn both editions, the module’s own block in the main config is what decides whether anything caches:
grep -n -A8 '^module cache' /usr/local/lsws/conf/httpd_config.confFor a WordPress server driven by the LiteSpeed Cache plugin, this is the shape you want:
module cache { storagePath cachedata enableCache 0 checkPrivateCache 1 checkPublicCache 1 ls_enabled 1 }ls_enabled 1turns the module on.enableCache 0is correct and deliberate: it tells the server not to cache everything blindly.checkPublicCache 1is the line that makes the server honour the cache-control headers the WordPress plugin emits. Drop that one and the plugin will look configured while nothing is stored. -
Know the way back to Apache before you need it. On a cPanel server, Enterprise and Apache take turns owning ports 80 and 443, and the WHM plugin flips between them. The supported route is WHM, under Plugins, LiteSpeed Web Server, which offers a switch to Apache and back. The plugin ships the same operation as a script:
/usr/local/lsws/admin/misc/cp_switch_ws.sh apacheThen confirm who is actually answering, rather than trusting the panel’s own status text:
/usr/local/lsws/bin/lswsctrl status ps -eo args | grep -E '[l]shttpd|[/]usr/sbin/httpd' | head -n 3litespeed is not running. /usr/sbin/httpd -k startPassing
lswsinstead ofapachemoves traffic back. Because Enterprise was reading Apache’s configuration all along, nothing is rewritten in either direction — the part OpenLiteSpeed cannot offer.
Validate it works
Four checks, in order, and each one rules out a different failure.
The server is answering, and it is LiteSpeed. Confirms the process is up and bound to the right vhost:
curl -sI https://example.com/ | grep -iE '^(server|x-litespeed-cache):'
server: LiteSpeed
x-litespeed-cache: miss
The second request is a hit. A miss on the first request is expected — it is what populates the entry. A second miss means nothing is being stored:
curl -sI https://example.com/ > /dev/null && curl -sI https://example.com/ | grep -i '^x-litespeed-cache'
x-litespeed-cache: hit
Workers are running, and there are as many as you configured. Worker processes appear in ps under their own labels:
ps -eo args | grep '[l]shttpd -' | head -n 4
litespeed (lshttpd - #01)
litespeed (lshttpd - #02)
Compare that count against nproc and against the workers line in httpd_config.conf. If the configured value is higher than what is running on Enterprise, the licence tier is capping you.
Reload safely, because there is no configtest. LiteSpeed has no equivalent of apachectl configtest or nginx -t. The safe procedure is to keep a copy, apply, then read the log immediately:
cp -a /usr/local/lsws/conf/httpd_config.conf /root/httpd_config.conf.$(date +%F)
/usr/local/lsws/bin/lswsctrl reload
tail -n 20 /usr/local/lsws/logs/error.log
The signal you want is a startup NOTICE and the absence of any [ERROR] [config lines. If the new configuration fails to parse, the running instance keeps serving on the old one, which buys you the time to restore the copy.
Troubleshooting
.htaccess rules are silently ignored. The site behaves as though the file is not there: no redirect, no deny rule, no custom header, and nothing in the error log, because from the server’s point of view nothing went wrong. This is the most common OpenLiteSpeed surprise. Move the rewrite rules into the vhost’s rewrite block and restart, or accept that this workload wants Enterprise.
A vhost change did nothing until a restart. On OpenLiteSpeed, editing vhconf.conf and running lswsctrl reload is not enough for virtual-host-level changes; they need lswsctrl restart, which starts new workers and drains the old ones. In-flight requests finish, but a deployment process that touches vhosts often will feel it.
The server refuses to start after raising workers. On Enterprise the licence is tiered by worker count. Setting workers 8 against a licence that permits fewer will stop the server from coming up with that configuration, and /usr/local/lsws/logs/error.log will say so in a licence-related message. Either lower the value to what the licence allows or move to a tier that matches the core count — check the licence before you size the box, not after.
The LiteSpeed Cache plugin is installed but nothing is cached. X-LiteSpeed-Cache is missing from every response, or permanently reads miss. Almost always the server-level module is the problem, not the plugin: ls_enabled is 0, the module cache block is missing, or checkPublicCache is 0 so the plugin’s cache-control headers are being discarded. Fix the module block first; the plugin’s own settings page cannot tell you any of this. For a working starting configuration, see the LSCache WordPress baseline.
Apache came back on its own after an EasyApache 4 rebuild. Responses stop carrying Server: LiteSpeed and PHP gets slower, with nobody having changed anything on purpose: the rebuild restarted httpd and left it holding the ports. Re-run the switch from the WHM plugin, then verify with the ps check in step 7 rather than the panel’s status line.
When this is the wrong approach
When Nginx plus FastCGI cache already exists and works. A tuned Nginx with fastcgi_cache and PHP-FPM lands in the same performance neighbourhood under real WordPress traffic. If you already run it and have purge logic wired up, swapping in either LiteSpeed edition buys tuning work and a new failure mode rather than a measurable win.
When the CDN is already doing full-page caching. If Cloudflare, Fastly or another edge serves HTML from cache, the origin’s page cache answers a small residual share of requests. Fix the edge cache-key and purge behaviour first; the origin server choice matters much less then.
And a word about lock-in, honestly. The LiteSpeed Cache plugin for WordPress does very little on Apache or Nginx — it sets headers that only a LiteSpeed server acts on. OpenLiteSpeed’s vhconf.conf syntax is not portable to anything else, so a stack built around it has to be re-expressed to move. Enterprise inverts this: because it consumes Apache configuration, the path back to Apache is the shortest of the three. That is a real argument for Enterprise on a cPanel fleet that has nothing to do with speed.
Official references worth keeping open: the vendor documentation at docs.litespeedtech.com and the OpenLiteSpeed project site at openlitespeed.org.
If this is the kind of work you’d rather never own again, it’s the daily job of Managed Cloud Ops — book an infrastructure review.