php

Enabling WordFence

WordFence requires auto_prepend_file in order to work correctly, as it allows the Wordfence WAF to load before WordPress, rather than afterward. By default, the following directive in .htaccess is used to load WordFence, but this directive does not work in OpenLiteSpeed. php_value auto_prepend_file ‘/home/example.com/public_html/wordfence-waf.php’ Luckily,…

ModLSPHP Module

  This wiki discusses how to add the LiteSpeed ModLSPHP Module on OpenLiteSpeed (mod_lsphp). The ModLSPHP module improves PHP performance while loading PHP into the currently running server process, reducing overall resource usage. This module also takes advantage of support for multi-threaded applications found in…

Quick Install phpMyAdmin

  This guide will explain how to get up and running with phpMyAdmin on OpenLiteSpeed Web Server. Prerequisites Pre-install OpenLiteSpeed and PHP Download and Extract phpMyAdmin To illustrate setting up phpMyAdmin on a vhost we’ll use the default virtual host, “Example”. cd /usr/local/lsws/Example/html wget -q…

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…

Xenforo

Install: Quick Install Xenforo on OpenLiteSpeed After you install OpenLiteSpeed, follow the instructions below to get your Xenforo site working. Install PHP modules MariaDB Installation Create XenforoDB Account Set Index File and rewrite rules Download and Extract Xenforo Run the Xenforo install script Install PHP…