Re: RE: Creating a socket on PHP 4/WinXP
| From: | Frank M. Kromann | Date: | Wed, 14 Jan 2004 05:05:38 +0000 |
| Subject: | Re: RE: Creating a socket on PHP 4/WinXP | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22573@lists.php.net to get a copy of this message | ||
Hi Christopher,
You need to load the sockets extension before you can use these functions.
You can do that with extension=php_sockets.dll in php.ini or
dl("php_sockets.dll"); in your script if you are using CGI.
- Frank
> Hi,
>
> Can somebody help me with regards to getting a
> socket.create() command to work on PHP4/WinXp/Apache, I get the
> following output;
>
> Fatal error: Call to undefined function: socket_create() in D:\Program
> Files\Apache Group\Apache2\htdocs\login.php on line 114
>
> I tried having a look for help on the web; however a majority of the
> help is the linux environment.
>
> Thanks
> Chris
>