mirror of
https://github.com/Qbix/webserver.git
synced 2026-07-22 07:57:23 +02:00
Initial release — pure PHP web server, 55-73% of nginx throughput
Standalone server with zero dependencies beyond PHP 8.1+. Static files with in-memory response cache, keep-alive, TCP_NODELAY, gzip/brotli, WebSocket, live dashboard, rate limiting. Includes PHAR builder and GitHub Actions CI for static binaries (Linux x86_64, Linux ARM64, macOS x86_64, macOS Apple Silicon).
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode([
|
||||
'time' => date('c'),
|
||||
'php' => PHP_VERSION,
|
||||
'method' => $_SERVER['REQUEST_METHOD'] ?? 'GET',
|
||||
'uri' => $_SERVER['REQUEST_URI'] ?? '/',
|
||||
'server' => 'Qbix Server',
|
||||
]);
|
||||
Reference in New Issue
Block a user