# Webserver

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

- **Website:** https://github.com/Qbix/webserver
- **Pricing:** unknown
- **Categories:** Developer Tools, Productivity
- **Tags:** developer-tools, productivity, writing-content
- **Platforms:** Windows, CLI
- **Last verified:** 2026-09-10
- **Canonical page:** https://linkrena.com/tools/webserver

## About

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.

## Related tools

- [Spinifex](https://linkrena.com/tools/spinifex): Spinifex – Open source AWS-compatible platform for secure edge deployments.
- [Otter](https://linkrena.com/tools/otter): Experimental JS runtime with ability to run 1k+ threads - gi-dellav/otter
- [Your Mail Mcp](https://linkrena.com/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
- [What is dmx?](https://linkrena.com/tools/what-is-dmx): dmx is an open source AI-native engineering harness.
- [Codex Tool Reference](https://linkrena.com/tools/codex-tool-reference): A complete reference to the tools and full skill definitions available in this Codex Work session.
- [gawkbot](https://linkrena.com/tools/gawkbot): gawkbot is the open source Grok Bot.
