Skip to content

Webserver

Pure-PHP Web Server. No NGinX or PHP-FPM needed.

Webserver screenshot

About Webserver

A pure PHP web server. No nginx, no Apache, no php-fpm. One process serves static files, PHP scripts, WebSocket connections, and a live dashboard. With --workers=N , persistent workers match fpm's per-request speed at over 100× the concurrent capacity.

See BENCHMARKS.md for full methodology and reset.md for what gets reset between requests.

PHP execution .php files in document root run in-process or via pre-fork worker pool

WebSocket Socket.IO v5 compatible + bare WebSocket. Server→client RPC. Client JS served at /Q/socket.js and /socket.io/socket.io.js .

Rooms Process-per-room shared state, tick timers, broadcasting. Members join/leave, room state in PHP arrays.

Unix domain socket --socket=/run/qbix/app.sock for nginx proxy hop, simultaneous TCP+UDS listeners

Images On-the-fly resize ( ?w=300 ), auto format conversion (JPEG→WebP), Save-Data support, disk-cached with LRU eviction

Directory listing Grid/list toggle, lazy thumbnails, lightbox with download-at-size, multi-select, bulk ZIP download. Overridable with listing.php

Q.js frontend Bundled Q.min.js (187KB), jQuery shim (5.7KB), minimal Handlebars (6.1KB), 43 UI tools, 107 languages + translations — served at /Q/plugins/

Deploy --deploy=production CLI or one-click from Panel. rsync to remote servers via SSH.

Discussion

Sign in to join the discussion.

Loading comments…

Tagged

Alternatives to Webserver

Tools in the same space, ranked by how they are performing in the directory.

Compare all
  • Spinifex

    Spinifex – Open source AWS-compatible platform for secure edge deployments.

    Open source/Developer Tools
  • Otter

    Experimental JS runtime with ability to run 1k+ threads - gi-dellav/otter

    /Developer Tools
  • Your Mail Mcp

    Self-hosted, read-only MCP server that serves IMAP mail from a local notmuch index over authenticated HTTP - wildsurfer/your-mail-mcp

    /Developer Tools
  • What is dmx?

    dmx is an open source AI-native engineering harness.

    Open source/Developer Tools
  • Codex Tool Reference

    A complete reference to the tools and full skill definitions available in this Codex Work session.

    Paid/Developer Tools
  • gawkbot

    gawkbot is the open source Grok Bot.

    Open source/Developer Tools