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

If, for some reason, you need to uninstall LiteSpeed, run the following command into your console...

MySQL errors

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

Does LiteSpeed support CentOS 7?

LiteSpeed Enterprise(LSWS) is officially supported by CentOS Web Panel (CWP) as of February 12th,...

LSCache Cron Job for cPanel

The easiest way to see what the LSCache cron job running for your cPanel control panel is through...