Installation

Default PHP Settings

  PHP is fully supported by OpenLiteSpeed out of box. No additional configuration is required. However the default binary installed(/usr/local/lsws/fcgi-bin/lsphp) is a minimum build for testing use and can not be used for real applications. This article is not intended to provide instruction on how…

Set up OLS with Multi PHP versions

Multiple PHP Versions on OpenLiteSpeed Users may want to setup multi-PHP versions and use a different version for different virtual host/domain. This wiki will address setting up multiple PHPs for one installation of OpenLiteSpeed. The wiki assumes you have our repository installed and enabled and that PHP…

Install PHP through repositories

  Installing PHP with LiteSpeed SAPI from a repository is much faster and recommended way. PHP for LiteSpeed (LSAPI) is available in two repositories — Remi Repository(CentOS) and our own LiteSpeed Repository(CentOS/Debian/Ubuntu). Choose the repository that best fits your needs. Installing PHP from the LiteSpeed…

Accessing the Git

  We welcome developers of all skill levels to experiment with the OpenLiteSpeed code. To facilitate this, we’ve made the OpenLiteSpeed git available in our official repository on GitHub. Some people, however, may wish to access the repository without logging into GitHub. Here are the commands for…

Command References for Administration

  This administration guide lays down the basic commands for those who wish to control OpenLiteSpeed from the command line. By default, OpenLiteSpeed is installed under /usr/local/lsws/. Control Commands Start OpenLiteSpeed: /usr/local/lsws/bin/lswsctrl start Stop OpenLiteSpeed: /usr/local/lsws/bin/lswsctrl stop Gracefully restart OpenLiteSpeed (zero downtime): /usr/local/lsws/bin/lswsctrl restart Show OpenLiteSpeed commands: /usr/local/lsws/bin/lswsctrl help Miscellaneous…