LiteSpeed Web Server is cPanel’s officially supported alternative to Apache, with an event-driven architecture (like nginx) and integrated caching (like Varnish), plus drop-in Apache compatibility for .htaccess. The license costs money. The question of whether to switch is not “is LiteSpeed faster?” — it is, on the right workload — but “is the speedup worth the license cost on this specific host?” The answer depends on what your customers are running.
What’s happening
Apache MPM event with PHP-FPM is fine for the majority of cPanel workloads. Modern Apache handles thousands of concurrent connections with reasonable memory use, and .htaccess flexibility is preserved. Where Apache struggles is high-concurrency scenarios with KeepAlive: each worker is one connection, and serving 10,000 concurrent users either burns memory (preallocated workers) or drops connections (oversubscribed).
LiteSpeed handles those 10,000 connections with a fraction of the workers because it is event-driven. It also ships with LSCache built in — full-page caching for WordPress, Magento, OpenCart, and others, with native tag-based purging. LSCache alone can change the math: a WordPress site that was serving 200 req/s on Apache can serve 5,000 req/s on LiteSpeed with LSCache hits, on the same hardware.
The catch: LiteSpeed Enterprise licensing scales with worker count or with site count, depending on tier. For a host running 200 WordPress sites with moderate traffic, the license is worth it. For a host running 20 specialized PHP apps that do not benefit from page caching, it is not.
How to verify
What is the current load on Apache:
curl -s http://127.0.0.1/server-status | grep -E 'BusyWorkers|IdleWorkers'
curl -s http://127.0.0.1/server-status?auto | head -10
If BusyWorkers is at or near MaxRequestWorkers during peak, you are concurrency-limited and LiteSpeed would help.
What fraction of traffic is WordPress (cachable by LSCache)?
ls /home/*/public_html/wp-config.php 2>/dev/null | wc -l
ls /home/*/public_html/ | wc -l
If most accounts are WordPress, LSCache delivers real value. If most accounts are custom PHP apps that cannot be page-cached, the cache value is smaller.
The fix
The decision criteria:
- WordPress-heavy host with many busy sites — LiteSpeed + LSCache typically pays for itself in hardware cost reduction (you can pack more sites on the same box). Switch.
- Apache hitting MaxRequestWorkers during peak — LiteSpeed’s event-driven architecture handles 10x the concurrency on the same hardware. Switch.
- Specialized custom PHP apps without page-cacheability — LiteSpeed’s main wins (LSCache, high concurrency) are less relevant. Stay on Apache.
- API-only hosts (no HTML pages cached) — Apache is fine; the concurrency win is the only LiteSpeed benefit, and it has to be priced against the license.
- Test before committing. Use LiteSpeed’s 15-day trial license, switch a non-production host, measure with real traffic for a week.
The migration on cPanel:
- WHM > LiteSpeed Web Server. Install via the cPanel-integrated installer.
- Migrate Apache config to LiteSpeed. cPanel does this automatically; verify with
httpd -Vand/usr/local/lsws/bin/lshttpd -v. - Install LSCache for WordPress on each customer’s site (WordPress plugin, free, requires the LiteSpeed server module).
- Watch for
.htaccessincompatibilities. Most directives work; a few exotic ones (PHP-FPM-specific, mod_evasive specific) do not. - Monitor for 2 weeks. The metrics that matter: TTFB on cached pages (should drop to under 100ms), concurrent connection count (should be higher without worker exhaustion), and CPU usage at the same traffic level (should be lower).
Stack Harbor handles cPanel + LiteSpeed migrations as part of cPanel server management.