What Each One Is
- Apache HTTP Server is free, open-source software that has run websites since 1995. It handles connections with processes or threads and is extended with modules.
- LiteSpeed Web Server is commercial software with an event-driven design. It reads Apache's configuration files and .htaccess files, so it can take Apache's place on a server without changes to the sites.
- OpenLiteSpeed is the free, open-source edition of LiteSpeed. It has its own configuration format and supports only the rewrite rules of .htaccess.
LiteSpeed and Apache Compared
| Apache | LiteSpeed Web Server | |
|---|---|---|
| Design | Processes or threads per connection | Event-driven; a few processes serve many connections |
| .htaccess | Native | Compatible with Apache's rules |
| PHP | PHP-FPM or mod_php | LSAPI, its own PHP interface |
| Page cache | Added separately | LiteSpeed Cache is built in, with plugins for WordPress and other applications |
| HTTP/3 | Not built in | Supported |
| Control panels | cPanel, Plesk, DirectAdmin | cPanel, Plesk, DirectAdmin |
| License | Free, open source | Paid, in tiers by worker processes |
Why LiteSpeed Is Usually Faster Under Load
When many visitors connect at once, Apache needs a process or thread for each connection, and memory use grows with the crowd. LiteSpeed serves the same connections from a small number of processes, so it keeps answering when Apache starts to queue requests. Its built-in cache adds to that: a cached page is sent without running PHP at all.
When Apache Is Enough
- A site with modest traffic on a server with memory to spare
- A setup that depends on an Apache module with no LiteSpeed equivalent
- A budget with no room for a license
When LiteSpeed Pays Off
- WordPress and store sites that can use LiteSpeed Cache
- Shared and reseller hosting, where many accounts share one server
- Traffic peaks that push Apache to its memory limit
- Sites that want HTTP/3 without a separate proxy
Switching on a cPanel Server
On a server with cPanel, LiteSpeed installs as a WHM plugin and takes over from Apache using the existing configuration. The plugin can switch back to Apache at any time, so the change can be tested without risk to the sites.