1here are noobs instructions
2
3go to your php installation directory in windows it can be something like this c:\xampp\php
4
5the goto ext direction in it php\ext\
6
7check if your have php_sockets.dll in that directory
8after that open php.ini file which will be in your php folder
9next search for ;extension=php_sockets.dll
10if you find it then remove ; from it
11
12if you not find it then search for extension=
13
14and then below some extension add extension=php_sockets.dll
15
16and finally restart your apache.