PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
d3ad1ysp0rk
Forum Donator
Posts: 1661 Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA
Post
by d3ad1ysp0rk » Sun Jul 11, 2004 8:24 pm
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.
markl999
DevNet Resident
Posts: 1972 Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)
Post
by markl999 » Sun Jul 11, 2004 8:32 pm
Try adding/uncommenting:
extension=php_sockets.dll
in your php.ini and restart apache.
d3ad1ysp0rk
Forum Donator
Posts: 1661 Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA
Post
by d3ad1ysp0rk » Sun Jul 11, 2004 8:59 pm
Thank you. I didn't know sockets required an extension.