Skip to content

v1.0.0 — Boldly Go

Choose a tag to compare

@EGreg EGreg released this 31 Aug 03:52
· 9 commits to main since this release

A pure PHP web server that replaces nginx + php-fpm. One process serves static files, PHP scripts, WebSocket connections, and a live dashboard.

Install

Download a binary — no PHP installation needed:

Platform Download
Linux x86_64 qbixserver-linux-x86_64
Linux ARM64 qbixserver-linux-aarch64
macOS ARM64 qbixserver-macos-arm64
chmod +x qbixserver-linux-x86_64
./qbixserver-linux-x86_64

Or if you already have PHP 8.1+: php qbixserver.php

What's in the binary

PHP 8.3 interpreter (statically linked), SQLite3, OpenSSL, curl, mbstring, pcntl, sockets, posix, phar, session.

Highlights

  • Two execution modes: fork-per-request (shared-nothing) and octane (--workers=N with snapshot restore)
  • Over 100× the concurrent capacity of nginx + php-fpm on the same memory
  • WebSocket with Socket.IO v5 protocol and rooms
  • SSE / streaming with auto-detection
  • Unix domain socket listen (--socket=/path) for nginx proxy
  • X-Accel-Redirect access control and X-Cache-Tree component-level caching
  • Live dashboard at /Q/dashboard
  • Full Qbix Platform compatibility — same APIs, easy migration to --app mode
  • 160+ tests across 6 suites