Knowledgebase

Find frequently asked questions and setup guides by searching or by browsing the categories.

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

ApacheLiteSpeed Web Server
DesignProcesses or threads per connectionEvent-driven; a few processes serve many connections
.htaccessNativeCompatible with Apache's rules
PHPPHP-FPM or mod_phpLSAPI, its own PHP interface
Page cacheAdded separatelyLiteSpeed Cache is built in, with plugins for WordPress and other applications
HTTP/3Not built inSupported
Control panelscPanel, Plesk, DirectAdmincPanel, Plesk, DirectAdmin
LicenseFree, open sourcePaid, 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.

Was this answer helpful?
Loading...