First of all the configure option shud only be '--enable-sockets' (no shared, nothing of that sort)
Second, if sockets are not pre-compiled with PHP, you may have to dynamically load the socket extension, by uncommenting this line in php.ini
;extension=sockets.so
Finally restart ur webserver and check out phpinfo again. It shud have a separate section alltogether SOCKETS - Enabled.
hope that solves it.......