📜  在 php 代码示例中启用套接字

📅  最后修改于: 2022-03-11 14:54:42.296000             🧑  作者: Mango

代码示例2
This answer assumes you do have a php_sockets.dll extension file accessible (in your PHP installation extension directory or where required);

If you're using windows, just uncomment the following line in your php.ini file:

;extension=php_sockets.dll

If you are missing the php_sockets.dll, you can download it from php.net.