Repository navigation
Releases
Releases · NeuralFoundry/openlitespeed-cpanel
OpenLiteSpeed for cPanel and WHM 0.7.0
olscp 0.7.0 runs OpenLiteSpeed as a drop-in replacement for Apache on cPanel and WHM servers.
What is new
- Safe switch:
olscp enablechecks every site over HTTP and HTTPS after the switch and restores Apache automatically if a site that worked on Apache fails on OpenLiteSpeed - Dry run:
olscp dry-runand the Dry run button start OpenLiteSpeed on the preview ports and check every site while Apache keeps serving, so you see which sites would break before switching - The site checks connect only to the loopback address, send a HEAD request with the site as the Host header and read only the status line, with a per-site timeout and an overall time budget
- HTTP/3 (QUIC) can be turned off for named domains while it stays on for the rest
- Statistics show the cache hit ratio per server and per domain and the application pool use
- MultiPHP reports a PHP version that is set but not installed and falls back to the server default
See the changelog for the full list.
Install
git clone https://github.com/NeuralFoundry/openlitespeed-cpanel.git
cd openlitespeed-cpanel
bash install.sh
Apache keeps serving until you switch. Try olscp dry-run first, then switch from WHM > Plugins > OpenLiteSpeed or with olscp enable.
Prebuilt live .htaccess binary
The attached files are the patched OpenLiteSpeed 1.9.4 build for the optional live .htaccess reload, for EL8 and EL9 on x86_64. olscp downloads and verifies them against build/prebuilt.txt with olscp ols fetch --use. For AlmaLinux, Rocky Linux or CloudLinux 8 or 9.
OpenLiteSpeed for cPanel and WHM 0.5.0
Node.js and Python applications now run on OpenLiteSpeed.
New
- Applications from cPanel Application Manager and the CloudLinux Node.js and Python selectors start as the account user, with the same Passenger settings Apache uses
- Python applications run through a small WSGI server,
libexec/lswsgi.py, with any Python 3.6 or newer interpreter or virtual environment - WebSockets for Node.js applications
- WHM plugin: new Apps page with state and restart. Command line:
olscp apps - Applications restart when their settings change, and the LSCache storage of a site is purged when an application is added or removed
/.well-known/stays reachable for AutoSSL next to an application on the site rootSSLRequireSSLin.htaccessis translated- Unit tests in
tests/
Ruby (Rack) applications are not supported yet.
Upgrade
cd openlitespeed-cpanel
git pull
bash install.shExisting sites keep the same configuration. Tested on cPanel & WHM 138 on AlmaLinux 9 with OpenLiteSpeed 1.9.4.
