Join 4,000+ others and never miss out on new tips, tutorials, and more.
4.x is outdated, please check the latest version 22.x
pecl install openswoole-22.0.0
The host is where the FastCGI FPM server is monitoring, this could be an IP address like
127.0.0.1 or a UnixSocket like
The target server port number. No need to pass in the port when using a UnixSocket.
Returns a new Swoole\Coroutine\FastCGI\Client object based on the host and port given
Create a new FastCGI Client object, based on the given host and port of the target FPM server using the FastCGI protocol.