Text version of https://ezecosystem.org/news/exponential-velocity-0.0.4.69-windows-no-root-shared-sessions-and-a-drop-in-for-apache. Site index for agents: https://exponential.earth/llms.txt.

Exponential Velocity 0.0.4.69: Windows, no root, shared sessions and a drop-in for Apache

Exponential Velocity, the PHP web server and application server for Exponential, had eight releases this week, 0.0.4.62 to 0.0.4.69. Velocity now runs on Windows, runs without staying root, serves many sites as their own users, keeps each site's .htaccess rules, and shares sessions with PHP-FPM through Redis or Valkey. It is part of the road to Exponential 6.0.15 stable in Q4 2026.

What Velocity is

Velocity is a web server written in PHP. Its workers load the Exponential kernel, settings and classes once and stay warm, so a request does not start PHP from nothing. It serves HTTP and HTTPS itself, sends static files and images directly, has a response cache for anonymous pages, and can run alone or behind nginx or a load balancer.

What is new, 0.0.4.62 to 0.0.4.69

  • Windows (0.0.4.63). A portable worker pool for systems without fork(): each worker is its own PHP process. Tested on Windows Server 2022 and 2025 with PHP 8.1, 8.3 and 8.5. Stop, reload and Ctrl+C work without signals. Not yet verified on desktop Windows or with a full Exponential installation on Windows; reports are welcome.
  • Many sites, each as its own user (0.0.4.64). Worker pools per system user, like suEXEC and PHP-FPM pools, upstreams by host, and each site's .htaccess access control and URL rules applied by the server.
  • A drop-in for Apache (0.0.4.65). The server can give up root after binding its ports (--drop-master). A host it cannot serve goes back to the previous web server on its own and is reported. A reference site answers exactly as Apache answers it, byte for byte, directly and behind nginx.
  • Fixes found before any visitor saw them (0.0.4.66 to 0.0.4.68). HTTPS with --drop-master, one cache entry per page for sites with URL rules, and a [R=404] rule that answers 404 as Apache does.
  • Sessions in Redis or Valkey (0.0.4.69). With session.save_handler=redis, Velocity and PHP-FPM read each other's sessions, so editors stay signed in when a load balancer moves them between servers.
  • File access checks in a worker follow the operating system, and a worker still busy after its answer gets no new request (0.0.4.62).

How fast

We switched a production Exponential server from Apache to nginx in front of Velocity on November 25 and measured both, 32 requests at a time:

  • Front page from the HTTP cache: 839 requests per second with Apache, 2,856 with Velocity.
  • An article: 818 with Apache, 2,164 with Velocity.
  • Packed scripts and images: 630 and 386 with Apache, 8,455 and 6,179 with Velocity.
  • Pages rendered from scratch are bound by the database; there Velocity was 30 to 60 percent ahead at 32 requests at a time and level at one to eight.

Install or upgrade

Static binaries for Linux, macOS and Windows, .deb and .rpm packages, Docker images, a phar, or Composer:

composer require se7enxweb/exponential-velocity

In an Exponential 6.0.15 installation, ./console exp:velocity deploy writes Velocity's settings from velocity.ini and restarts it after a change.

Links