1. Installation

Command Line Non-Root User

  Install OpenLiteSpeed from the command line, when not the root user. Minimum system requirements Operating System Linux(i386): kernel 2.4 and up, glibc-2.2 and up CentOS: 5 and up Ubuntu: 8.04 and up Debian: 4 and up Solaris(x86): SunOS 5.8 and up FreeBSD(i386): 4.5 and…

Building PHP for Magento

  To build PHP for Magento on OpenLiteSpeed, first set up the build environment: yum install curl-devel libmcrypt-devel Build PHP (5.6, for example) with additional modules. Go to the WebAdmin Console > Tools > Compile PHP. ‘–with-mysqli’ ‘–with-zlib’ ‘–with-gd’ ‘–enable-shmop’ ‘–enable-sockets’ ‘–enable-sysvsem’ ‘–enable-sysvshm’ ‘–enable-mbstring’ ‘–with-iconv’…

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…

Build Custom PHP

  Compiling PHP is not recommended way to setup your openlitespeed web server. You should install them through either LiteSpeed or remi repository. Compiling PHP is only needed when you have some very special need. PHP is fully supported by OpenLiteSpeed out of box. No…

PHP RPM Packages

  Below is a full list of all LiteSpeed PHP RPM packages available in the Repository. PHP 5.3 lsphp53-debuginfo.x86_64 : Debug information for package lsphp53 lsphp53.x86_64 : PHP scripting language for creating dynamic web sites lsphp53-bcmath.x86_64 : A module for PHP applications for using the…

How to Build a Custom PHP

Custom PHP Builds in OpenLiteSpeed Compiling PHP is not recommended way to setup your openlitespeed web server. You should install them through either LiteSpeed or remi repository. Compiling PHP is only needed when you have some very special need. PHP is fully supported by OpenLiteSpeed…

PHP via RPM

  Installing PHP with LiteSpeed SAPI from a repository is much faster than compiling it yourself. Some users also may be unused to compiling PHP and will find this method more comfortable. PHP for LiteSpeed (LSAPI) is available in two repositories — Remi Repository and…