Page 1 of 1

socket_*

Posted: Sun Jul 11, 2004 8:24 pm
by d3ad1ysp0rk
socket_create, socket_connect, etc, all give me fatal errors.

http://64.223.177.79:12/socket.php
Fatal error: Call to undefined function socket_create() in C:\Server\socket.php on line 4
Apache 2
PHP 5.0.0 RC2
Says nothing in the changelog (5.0.0 RC3) to make me think about updating to fix the problem..


I bet this is just a stupid mistake.. oh well :)

Thanks for any help.

Posted: Sun Jul 11, 2004 8:32 pm
by markl999
Try adding/uncommenting:
extension=php_sockets.dll
in your php.ini and restart apache.

Posted: Sun Jul 11, 2004 8:59 pm
by d3ad1ysp0rk
Thank you. I didn't know sockets required an extension. :)