SunshinePHP Developer Conference 2015


Funcțiile socket descrise aici fac parte dintr-o extensie PHP ce trebuie activată la momentul compilării adăugând opțiunea --enable-sockets la configure.

Notă: Susținerea IPv6 a fost adăugată în PHP 5.0.0.

add a note add a note

User Contributed Notes 1 note

5 years ago
Note that under windows you just need to uncomment the line
so that it looks like
(without the ; at the start)
in your php.ini (in the directory c:\program files\PHP\php.ini)

If that line isn't in there, you probably have a custom php install. In that case you need to add the line to php.ini and download the sockets dll.

In order to get the php_sockets.dll:
- Download the regular php zip file from
- Find the dll in the ext directory
- Extract the php_sockets.dll to the ext directory of your install
(probably at c:\program files\PHP\ext)
To Top