pecl install swoole

Event-driven asynchronous and concurrent networking engine with high performance for PHP.

Event-driven asynchronous and concurrent networking engine with high performance for PHP.
- event-driven
- coroutine
- asynchronous non-blocking
- multi-thread reactor
- multi-process worker
- multi-protocol
- millisecond timer
- built-in tcp/http/websocket/http2 server
- coroutine tcp/http/websocket client
- coroutine mysql client
- coroutine redis client
- coroutine read/write file system
- coroutine dns lookup
- support IPv4/IPv6/UnixSocket/TCP/UDP
- support SSL/TLS encrypted transmission

Version 5.1.3 change log

- Fix the problem of being unable to install through pecl.
- Fix the issue of Swoole\Coroutine\FastCGI\Client client being unable to set keepalive.
- Fix the issue of process continuously restarting due to error thrown when request parameters exceed max_input_vars.
- Fix the unknown issue caused by using Swoole\Event::wait() in a coroutine.
- Fix the issue of proc_open not supporting pty when used in a coroutine.
- Fix the segmentation fault issue in pdo_sqlite on PHP 8.3.
- Fix the unnecessary warning when compiling Swoole.
- Fix the error thrown when calling zend_fetch_resource2_ex on closed STDOUT/STDERR.
- Fix the invalid set_tcp_nodelay configuration.
- Fix the occasional unreachable branch issue triggered during file uploads.
- Fix the issue causing PHP core to throw errors when dispatch_func is set.
- Fix the obsolete warning of AC_PROG_CC_C99 in autoconf >= 2.70 version.
- Remove unnecessary checks for socket structs.
- Upgrade the Swoole library.
- Add support for http status code 451 in Swoole\Http\Response.
- Synchronize file operation code across different versions of PHP.
- Synchronize PDO operation code across different versions of PHP.
- Optimize the code for Socket::ssl_recv() function.
- Optimized config.m4 by allowing some configurations to set dependency library locations using pkg-config.
- Optimize the issue with using dynamic arrays when parsing request headers.


  • Tianfeng Han (lead )
  • Twosee (developer )
  • Shen Zhe (developer ) [inactive]
  • Lu Fei (developer )
  • Bruce Dou (developer )
  • Tianfeng Han (lead ) [inactive]
  • Twosee (developer ) [inactive]



Stars: 18239
Issue openned: 105
Downloads: 7300686
06/06/2024 07:30


  • php >=8.0.0
  • pearinstaller >=1.4.0