Alpha ZealPHP is early-stage and under active development. APIs may change between minor versions until v1.0. Feedback and bug reports welcome on GitHub.
API Index — Namespaces, Packages, Reports, Indices

CGI

Table of Contents

Interfaces

FcgiTransport
Socket transport for {@see FastCgiClient} (#289).

Classes

CgiInputStream
php:// stream wrapper for the CGI subprocesses (proc cgi_worker.php and the pooled pool_worker.php).
Dispatcher
CGI execution machinery extracted from App.php (Phase 2 structural refactor).
FastCgiClient
FastCGI 1.0 RESPONDER client for ZealPHP's cgiMode('fcgi') dispatch path.
FastCgiException
Thrown on protocol or I/O error; triggers 502 Bad Gateway in the App::include() dispatch path.
FcgiBlockingTransport
Blocking FastCGI transport (#289) — plain stream_socket_client + blocking fread/fwrite.
FcgiCoroutineTransport
Coroutine-yielding FastCGI transport (#289) — OpenSwoole\Coroutine\Client.
ForkPool
Host-side handle for the fork-per-request CGI runner — App::cgiMode('fork').
IPC
Length-prefixed JSON framing for the native FCGI-style worker pool.
WorkerPool
Master-side pool manager for ZealPHP's native FCGI-style worker pool.
On this page