tags:

views:

356

answers:

4

Hi all

Could any one tell me how to enable SOCKET support in PHP

Thanks

Fero

+1  A: 

(Assuming you don't have a custom-installation of PHP missing the .dll)

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

;extension=php_sockets.dll

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

Jonathan Sampson
+1  A: 

Have you started with the PHP Manual entry on sockets yet?

Mark Rushakoff
+1  A: 

The socket functions described here are part of an extension to PHP which must be enabled at compile time by giving the --enable-sockets option to configure.

From the extension's documentation.

soulmerge