Funk 是一个实现了 PHPSGI 的 HTTP 服务器实现。支持通过 PHP SAPI (Apache2 mod_php, php-fpm, fastcgi) 实现的服务器,因此你可以使用 Funk 来集成你的应用以切换到不同的 HTTP 服务器实现。
mod_php
php-fpm
fastcgi
组件:
HTTP server (with event extension or socket_select)
socket_select
SAPI support (php-fpm, apache2 php handler servers)
Middlewares
Middleware Compositor
A Simple Mux Builder (integrated with Pux)