How to Compile LsPHP on InterWorx

To compile LsPHP to match the PHP on the server you need to use one of the following commands listed below, this is because we don't have an InterWorx Plugin like some control panels yet.

CentOS 5:

rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el5.noarch.rpm


CentOS 6:

rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el6.noarch.rpm


CentOS 7:

rpm -ivh http://rpms.litespeedtech.com/centos/litespeed-repo-1.1-1.el7.noarch.rpm


Then the correct PHP version:

PHP 5.5:

yum install lsphp55-* --skip-broken


PHP 5.6:

yum install lsphp56-* --skip-broken


If you still have questions about compiling LsPHP, contact us by opening a support ticket or by using our live chat feature.

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

How to Fix Broken Images in LiteSpeed

First, go to your web console then go to Configuration > Server > Security File...

How to Transfer Your License to a New Server

When moving to another server, please do the following: Copy the serial.no file content as you...

CloudLinux PHP Selector

CloudLinux requires the following to be installed: PHP Selector LVE Manager CageFS...

How to Restart LiteSpeed

If you need to restart LiteSpeed for whatever reason, use the following command:...

How to swap LiteSpeed to Apache

If for whatever reason, you want to change your Web server, simply type in the following command...