LiteSpeed Web Server Plugin for cPanel®/WHM®

Step 1: Install LiteSpeed WHM plugin

Run the following commands from ssh as root

cd /usr/src
sh ./
rm -f

Note: To uninstall WHM LiteSpeed plugin, run command at


Step 2: Install LiteSpeed Speed Web Server from within WHM

  1. click “LiteSpeed Web Server Plugin for WHM” in “Plugins” section of WHM.
  2. click “Install LiteSpeed Web Server”
  3. Fill in the form to sepecify
    • Trial license key or serial number
    • LiteSpeed target installation directory
    • Port Offset ( set to 0 to replace Apache otherwise set a number like “2000” to try LiteSpeed on port 2080 )
    • Whether to enable PHP SuEXEC
    • Assign user name and password for LWSW web admin console
    • Your email address as the Administrators email.
  4. Click “Next” to install LiteSpeed

If you set Port Offset to “0”, it may stop Apache and start LiteSpeed after a successful installation, you may want to switch back to Apache temporarily as we still need to build PHP binary for LiteSpeed.

Step 3: Build matching PHP binary

There is a pre-built PHP 4 binary coming with LSWS, however, you should build your own PHP binary using matching configuration options used by Apache mod_php.

If LiteSpeed is running, you should switch back to Apache temporarily by clicking “switch to Apache” link. Then, click “Build Matching PHP binary” link. It is going take a while.

Step 4: Start LiteSpeed again

Just click “Restart LiteSpeed” Then you can verify if everything works as expected. It should!

If “Port Offset” is set to non-zero, you can now replace Apache with LiteSpeed Web Server. Just click “Switch to LiteSpeed”.

That’s it.

Was this answer helpful?

 Print this Article

Also Read

Litespeed Security

LiteSpeed Web Server is designed with security as a top consideration. LSWS supports SSL, has...

LiteSpeed Features

Apache Drop-in Replacement: Reads Apache config files directly, supports .htaccess, WAFControl...

Server APIs

LiteSpeed Web Server supports a number of server APIs (SAPIs) for communication between the web...

Cancel License

Dear customer, if you want cancel your order, you can do this via your panel. You can follow the...


LiteSpeed Web Server Enterprise licenses over 2-CPUs have LiteSpeed Cache. LSCache is...