Skip to content

OpenLiteSpeed for Windows 1.9.4-win.9

Choose a tag to compare

@NeuralFoundry NeuralFoundry released this 03 Nov 23:13
· 32 commits to main since this release

This release adds a dashboard and a full stack edition with MariaDB, phpMyAdmin and Cloudflare Tunnel, so a site on your computer can go online even behind a local IP.

Two editions in one setup

Setup now asks for the edition:

  • Full stack: OpenLiteSpeed, PHP, the tray app, the dashboard, MariaDB 11.8, phpMyAdmin 5.2 and Cloudflare Tunnel. Setup downloads about 170 MB and checks every file against a pinned SHA-256.
  • Web server only: OpenLiteSpeed, PHP and the tray app, as before.

An upgrade keeps the current edition. Running setup again switches it, and switching to the web server only keeps your databases. Unattended: --edition server|full, or -Edition full for install.ps1.

Dashboard

A desktop window (WebView2, it does not listen on a port) to start and stop the web server, MariaDB and tunnels, create sites and proxy sites, switch PHP, turn on trusted HTTPS, copy the database password and read the error log. Open it from the Start menu or with a double click on the tray icon.

Put a local site online

Turn on Online next to a site, or run openlitespeed --tunnel start <site>. Cloudflare gives it a public https://*.trycloudflare.com address. Nothing is opened in the firewall and visitors keep their real IP address. Your own domain works with a Cloudflare tunnel token, stored encrypted for your Windows account. phpMyAdmin and WebAdmin stay local only.

Also new

  • New site in the tray and the dashboard, optionally with WordPress, its own database and a filled in wp-config.php
  • Trusted HTTPS for local sites with a certificate authority limited to .test, .localhost, .internal and this computer
  • Proxy sites for apps on a local port, such as api.test for 127.0.0.1:3000
  • Signed updates: the tray downloads a new release, checks its Ed25519 signature and SHA-256 and runs the new setup when you confirm. Install this release with setup once; later releases can then be installed from the tray.
  • openlitespeed --status prints the server, PHP, sites, database and tunnels as JSON
  • The hosts file is only written when a site name changes, so fewer administrator prompts

Security

  • Setup limits the install folder to your account, administrators and the system. Before, other users of the computer could change the programs and the configuration in C:\OpenLiteSpeed. Upgrading applies this to existing installations.
  • Setup loads its DLLs from System32 only, refuses to write through junctions and removes stray DLLs from bin.
  • MariaDB never runs as administrator, and SELECT ... INTO OUTFILE is limited to data\files.
  • With trusted proxy headers, CF-Connecting-IP now wins over X-Real-IP, so a visitor coming through Cloudflare cannot pose as 127.0.0.1. The change is in the bundled OpenLiteSpeed code.
  • Proxy sites and the WordPress installer answer this computer only.
  • MariaDB, phpMyAdmin and cloudflared are checked against a pinned SHA-256 through a locked file in a private folder, and cloudflared is checked again each time it starts. PHP downloads are checked the same way against the checksum published by windows.php.net.

Install

Scoop:

scoop bucket add neuralfoundry https://github.com/NeuralFoundry/scoop-bucket
scoop install neuralfoundry/openlitespeed

Or download OpenLiteSpeed-1.9.4-win64-setup.exe below and run it. Checksums are in SHA256SUMS.txt, signed in SHA256SUMS.txt.sig.

Built from OpenLiteSpeed 1.9.4 for 64-bit Windows 10, 11 and Server.