Repository navigation
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.