Help:4 Line Install

The series of commands below will install OpenLiteSpeed on CentOS 6 with a build of PHP 5.6 that will support most web applications.

For more detailed installation instructions, see our guide to installing from our repository or the guide to building OpenLiteSpeed from source.

rpm -ivh
yum install openlitespeed
yum install lsphp56 lsphp56-common lsphp56-gd lsphp56-process lsphp56-mbstring lsphp56-mysqlnd lsphp56-xml lsphp56-mcrypt lsphp56-pdo lsphp56-imap
ln -sf /usr/local/lsws/lsphp56/bin/lsphp /usr/local/lsws/fcgi-bin/lsphp5