here are noobs instructions
go to your php installation directory in windows it can be something like this c:xamppphp
the goto ext direction in it phpext
check if your have php_sockets.dll in that directory
after that open php.ini file which will be in your php folder
next search for ;extension=php_sockets.dll
if you find it then remove ; from it
if you not find it then search for extension=
and then below some extension add extension=php_sockets.dll
and finally restart your apache.