Skip to content

Instantly share code, notes, and snippets.

@ClosetMonkey
ClosetMonkey / fcgi_responder.php
Last active December 12, 2022 18:49
FastCGI Server / Responder over Swoole Unix domain socket
View fcgi_responder.php
<?php
// based on Stone FastCGI https://github.com/StoneGroup/stone copyright MIT according to it's composer.json
class FastCGIConnection
{
private $server;
private $from_id;
private $fd;