

By using this Site or any products or services provided through the Site, you expressly consent to the use and disclosure of information as described in this Privacy Policy. You can visit most pages of the Site without giving us any information about yourself, but sometimes we do need information to provide services that you request. This policy ("Privacy Policy" or "Policy") explains our practices for our site, ("Site"). (aka “LiteSpeed”) is committed to protecting your privacy. The select lsphp72 in the Handler Name and Click Save button as shown.Ĭlick Graceful Restart button to apply the changes made as shown below.LiteSpeed Technologies, Inc. Go to Script Handler > Click Edit button as shown below. Since there are now two PHP versions in the web server, we should configure the Litespeed to only use PHP7.2 as follows. Then click the Save button in the right corner as shown below: Then select the LiteSpeed SAPI App for the Type, then Click Next button as shown below.Įnter the following configurations as follows: Name: lsphp72 Go to Server Configuration > External App > Click Add button as shown in the figure below. Note: Both the external application and script handler must be configured in the WebAdmin Console as is illustrated in the section that follows – Installing PHP 7.2 for Litespeed.Ĭonfiguring PHP 7.2 with LiteSpeed Web ServerĪt this stage, we change the PHP version being used by LiteSpeed from 5.6 to 7.2. Script Handler: Enables Litespeed to determine how the files will be directed to specific applications by mapping suffixes. It’s HIGHLY RECOMMENDED as it’s specially built for Litespeed while it’s designed for high performance, faster and has more features than FCGI SAPI. LSAPI acts as an interface between LiteSpeed and PHP. FCGI SAPI (FastCGI SAPI – Server Application Programming Interface).LSAPI (LiteSpeed SAPI – Server Application Programming Interface).The two PHP external applications used are:

This enables for greater stability, security and managing simultaneous connections. PHP External Application : Litespeed does not have PHP inbuilt into it but rather hands over execution tasks to external PHP applications/executables. PHP Support in Litespeed comprises two parts as follows:ġ. However, Litespeed by-default comes with php5.6 binary (/usr/local/lsws/lsphp) which can only be used for development environments and NOT RECOMMENDED for production environments. Litespeed completely supports PHP without any further configuration. Installing and Configuring PHP 7.2 with LiteSpeed
Litespeed web server software how to#
You can accomplish this by following our tutorial – How to install Litespeed Web Server on an Ubuntu 18.04 VPS or Dedicated Server Already installed LiteSpeed Web Server on Ubuntu 18.04.In this tutorial, we illustrate how to configure OpenLiteSpeed for CMS or Application installation by installing PHP 7.2 and MySQL 8.0 and configuring them with the OpenLiteSpeed web server on Ubuntu 18.04. 7.2 at the time of publication of this tutorial) for processing of web server requests and MySQL 8.0 for CMS or website database.

In addition, it requires the installation of required packages i.e. After installation on a VPS or Dedicated Server, it requires further configuration on its WebAdmin in preparation for installation of CMS websites and web applications. OpenLiteSpeed is an open source web server characterized by high-performance, light-weight event-driven architecture, and Apache compatible rewrite rules.
