As with any open source project, Swoole always provides the most reliable stability and the most powerful features in the latest released version. Please ensure as much as possible that you are using the latest version.


  1. Operation system: Linux, FreeBSD or MacOS
  2. Linux kernel version >= 2.3.32
  3. PHP version >= 7.0.0
  4. GCC version >= 4.8

Recommend Linux version: Ubuntu 14, CentOS 7 or greater.

PHP version dependency

  1. Swoole only supports PHP version >= 7.0.0, PHP 7.4+ is recommended
  2. Swoole doesn't depend on the extensions like stream, sockets, pcntl, posix, sysvmsg, etc. You simply need to install the basic extensions for PHP.