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,…
At times, applications may require the creation of an internal server environment variable, such as you might set up with the SetEnv directive in Apache. You can set up server environment variables in OpenLiteSpeed, too. Server Side Setup Log in to the WebAdmin Console, navigate…
Troubleshooting 503 Errors 503 errors are often caused by a malfunction in PHP, and are not related to Apache or LiteSpeed Web Server. One of the common reasons for a 503 error is a PHP crash. Generally, troubleshooting 503 errors is out of our support…
Besides configuring PHP by virtual host, OLS also has ability to set up PHP by directory. This means that you can have different directories running different PHP versions to further customize your server environment.
OpenLiteSpeed allows you to change PHP Settings by Vhost and User, if the global settings are inappropriate.
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…
How to install ModLSPHP dependencies on Centos 7: first install OpenLiteSpeed, then these additional libraries, and finally ModLSPHP itself.
This guide will explain how to get up and running with phpMyAdmin on OpenLiteSpeed Web Server. Install PHP Modules The easiest way to install PHP for OpenLiteSpeed is through our CentOS repository. Install PHP Step 1. Install PHP and OLS You can install some…
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…
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…