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 Upgrade LiteSpeed

 Please use the following command with the version number: ...

How to Enable SSL for Webadmin

As of LiteSpeed Web Server v5.2, self-signed SSL certificates are automatically created for the...

MySQL errors

If you are receiving MySQL errors, make sure to check PHPInfo for the MySQL section (Apache):...

How to Fix Broken Images in LiteSpeed

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

What is $VH_ROOT?

$VH_ROOT is the user's home directory. If you still have questions, make sure to contact...