How to Install LiteSpeed on a cPanel Server in 10 Minutes

LiteSpeed Web Server is a high-performance web server that is an alternative to Apache, yet fully compatible with existing Apache configuration files. It is very well suited to high traffic websites, and those that use a large number of scripts.

This guide will show you how to install LiteSpeed on a cPanel VPS or dedicated server in just 5-10 minutes. Once completed, you will have a LiteSpeed-powered web server ready for action, running on top of cPanel.

LiteSpeed is fully compatible with cPanel, and we start with installing a cPanel plug-in that adds a LiteSpeed control panel inside WHM.

How to Install LiteSpeed with cPanel

1. Access your Linux VPS or dedicated server via shell (SSH) with root credentials. Download and install the LiteSpeed plug-in for cPanel:

cd /usr/src; curl | sh

2. Log in to WHM and navigate to Plugins > LiteSpeed Web Server Plugin.

3. Click “Install LiteSpeed Web Server”. Enter your LiteSpeed license key and a username/password for the LiteSpeed admin panel. The other options can be left at their defaults. Click Next to install LiteSpeed.

4. Important: Before starting LiteSpeed, you need to build a PHP binary for LiteSpeed that matches your existing Apache/PHP build. To do this, click “Build matching PHP” from the LiteSpeed plugin homepage.

5. Return to the LiteSpeed plugin page and cick “Switch to LiteSpeed” to enable LiteSpeed on your server (disables Apache).

That’s it! Now your web server is running litespeed and lsphp5.

Want free installation?

We provide with instant setup, free installation, and ongoing support for both cPanel and LiteSpeed licenses, compatible with all of our Linux VPS packages.

This entry was posted in cPanel/WHM, Guides & How To's, Linux VPS, Tech Support and tagged , , , , . Bookmark the permalink. Trackbacks are closed, but you can post a comment.

Questions? We're here to help.