Could any one tell me how to enable SOCKET support in PHP ?
Socket programming is responsible for establishing that connection between applications to interact. By the end of this tip, we will learn how to create a simple client-server in PHP. We will also learn how client application sends message to server and receives it from the same.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With