downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

実行時設定> <要件
[edit] Last updated: Fri, 10 Feb 2012

view this page in

インストール手順

ここに既述されたソケット関数は PHP 拡張モジュールの一部であり、 コンパイル時に configure にオプション --enable-sockets を指定することにより 使用可能となります。

注意: IPv6 サポートは PHP 5.0.0 で追加されました。



add a note add a note User Contributed Notes インストール手順
Dirk 04-Jan-2009 12:32
Note that under windows you just need to uncomment the line
;extension=php_sockets.dll
so that it looks like
extension=php_sockets.dll
(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 http://www.php.net/downloads.php
- 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)

 
show source | credits | stats | sitemap | contact | advertising | mirror sites