安装/配置
PHP 手册

安装

The socket functions described here are part of an extension to PHP which must be enabled at compile time by giving the --enable-sockets option to configure.

Note: 在 PHP 5.0.0 开始加入了对 IPv6 的支持。


安装/配置
PHP 手册