Linux x64 / ARM64macOS Apple SiliconWindows x64 / ARM64
One stack. Your choice.
Serve your site. Keep control of your setup.
GalaxyHTTP brings familiar virtual hosts and distributed access files to a Rust server with bounded caching, traffic controls and native PHP transports. GalaxyCache adds an application-value cache inside PHP. Use them together for a managed stack, or choose either product for the server and application you already run.
GalaxyHTTP
A familiar way to host.
Configure Apache-style virtual hosts or TOML, migrate supported .htaccess rules, serve static files, and connect PHP-FPM or LSPHP. HTTP/1.1 and HTTP/2 share the same request policy; HTTP/3 requires an optional source build; current release packages provide HTTP/1.1 and HTTP/2.
GalaxyCache
Keep the work you've done.
A native Rust PHP extension for bounded application values, tags, batch reads and callback-based filling. It runs with GalaxyHTTP, Apache and NGINX. OPcache still handles bytecode; GalaxyCache handles values your application chooses to reuse.
Together
Less setup. Clearer evidence.
Discover PHP, install signed compatible modules, verify the actual serving worker, and inspect private status. An optional delivery mode uses verified GalaxyCache capabilities to stream larger replies while keeping quick, small replies buffered.
0.5.8 · PHP extension
Cache your application's expensive work.
Use galaxycache_remember to produce a value once and reuse it, with explicit namespaces, TTLs and tags. Binary values, batches and invalidation stay available on every supported frontend.
This release uses independent, process-local worker caches. Applications manage cache keys and invalidation. Shared-worker storage and automatic whole-page caching remain future work.
Run as the account that owns the PHP workers. The installer checks a signed catalog and the selected PHP runtime's exact version, architecture, thread mode and module build ID. It creates a new slot and INI fragment; configure your selected PHP worker to load that fragment.
GalaxyCache in actual PHP workers
Compare the same populated 1,000-item catalogue with the application cache off and on. GalaxyHTTP 0.7.0 and GalaxyCache 0.5.8 use matched PHP within each series: PHP 8.5.5 FPM on native macOS ARM64 and PHP 8.5.12 FPM on Linux x64 under Rosetta.
Catalogue throughput · requests per second
Current cache results are being qualified.
Animated bars: Cache On · muted bars: Cache Off · colour: server · shade: host · whiskers: three-repeat range.
RAM throughout the cache comparison
Frontend and PHP memory are recorded separately before testing, at the sampled peak during testing, and two and ten seconds afterward. Values are medians of three trials in MiB; the operating system's resident-memory accounting is retained.
Frontend resident memory · MiB
Server / host / cache
Before
During peak
Post 2s
Post 10s
PHP resident memory · MiB
Server / host / cache
Before
During peak
Post 2s
Post 10s
What this comparison demonstrates
The same 1,000-item catalogue uses GalaxyCache with GalaxyHTTP, Apache and NGINX. The comparison shows how caching application values changes the work each server performs.
Each PHP worker owns its cache. Applications choose keys, expiry and invalidation. Shared storage across workers and automatic page caching remain future work.
Measure the work, not the promise.
Three servers. Two execution modes.
GalaxyHTTP 0.7.0 is compared with Apache 2.4.69 and NGINX 1.31.8 using the same six workloads. Native macOS ARM64 and Linux x64 under Rosetta are separate series on one Apple M4 Pro host. Compare within each series. Every completed response must match the expected status and bytes.
Current candidate runs are being qualified. No earlier release's results are used here.
Test method and memory measurements
Shade identifies the host; colour identifies the server. Error bars show the repeat range. Both series use one Apple M4 Pro: native macOS ARM64 and a 2-vCPU, 4-GiB Linux lab running x64 userspace under Rosetta. All three Linux frontends and PHP use that translated route. Compare within a series; this is not native Linux x64 capacity.
Resident memory is sampled before, throughout, and two and ten seconds after each run, for the frontend process tree and PHP separately. Linux values use process-tree PSS; native macOS values use summed RSS, which double counts shared pages. Each series uses the same external persistent single-child FPM pool for every frontend, with OPcache 128 MiB. This differs from the historical managed-worker recycling profile. Access logs are generated and fully drained for every frontend; only the first 1 KiB is retained after warmup, so persistent log storage is not measured. The client, sampler and log collectors share the host; their CPU is recorded separately. These are measured workloads, with application caching enabled explicitly, rather than a maximum-capacity or automatic WordPress-cache claim.
PHP-FPM / FastCGI and LSPHP / LSAPI, managed-worker identity and recovery, .user.ini, and isolated local php.ini profiles.
Full native macOS PHP 8.5 LSPHP packaging with the WordPress extension profile, verified TLS trust, and actual packaged/relocated LSAPI serving with GalaxyCache off and on.
Complete Apache module and PCRE parity: unsupported directives and regex features still require migration.
HTTP/3: arbitrary CONNECT, WebTransport, QUIC datagrams, server push and 0-RTT are outside this preview.
GalaxyCache shared-worker storage, coordinated cross-worker invalidation and automatic application/page-cache integrations remain future work. This release uses process-local caches.
GalaxyCache binaries match specific PHP ABI/builds. Additional PHP build variants and ZTS/mod_php still need qualification.
Installed launchd/Windows SCM lifecycle, native Windows x64 hardware, signed desktop distribution and secure multi-user Windows hosting need further qualification.
Longer fuzz, hostile-traffic and retention campaigns, wider browser HTTP/3 discovery and WAN soak tests remain release-hardening work. Built-in traffic limits cannot protect a saturated upstream link.
The current test matrix distinguishes native execution, emulation, compilation and pending coverage. Feature support does not imply that every platform, PHP build or deployment combination has passed the same test.
Start with the preview.
Download it. Make it yours.
GalaxyHTTP 0.7.0 and GalaxyCache 0.5.8 are separate downloads. Current HTTP packages cover GNU Linux x64 and macOS Apple Silicon. Other platform links retain their labelled 0.4.0 archives. PHP 8.5.12 remains the maintained runtime; refreshed qualified bundles include GalaxyCache 0.5.8.
curl -fsSL https://galaxyhttp.com/install.sh -o galaxyhttp-install.sh && sh galaxyhttp-install.sh
Select the module matching your PHP binary, not just the operating system. The CLI checks the signed catalog and exact ABI before loading a module.
Keep your installation clear.
Inspect the update. Then choose when to apply it.
Signed catalogs identify the release files. Downloads choose among verified mirrors and check the package's exact size and SHA256. Run --check-update to choose Install Now, Schedule the Update, or Not Now. Installation applies the verified release in place.
galaxyhttpd --check-update
galaxyhttpd --galaxycache status --galaxycache-root /srv/galaxycache
The CLI shows the server's current timezone, current time and a dated example. Scheduled installation uses that server's clock and applies the newest verified compatible release in place.
Release Notes
GalaxyHTTP
Release history
What changed.
New capabilities and improvements, release by release.