
Steve Warburton - 2013-08-10 10:44:13
Hi,
I am new to PHP and web sockets.
I have uploaded all 4 files to www.wilsea.com/websockets.
If I run http://www.wilsea.com/websockets/example.php I get :
[08/10/2013 11:30:50][1;30;45m32680[0m: Creating WebSocket [08/10/2013 11:30:50][1;30;45m32680[0m: Configuring WebSocket [08/10/2013 11:30:50][1;30;45m32680[0m: Binding WebSocket [08/10/2013 11:30:50][1;30;45m32680[0m: Listening on WebSocket [08/10/2013 11:30:50][1;30;45m32680[0m: Setting WebSocket to non-blocking [08/10/2013 11:30:50][1;30;45m32680[0m: Server Started [08/10/2013 11:30:50][1;30;45m32680[0m: Listening on: 0.0.0.0 port 2595 [08/10/2013 11:30:50][1;30;45m32680[0m: Master socket: Resource id #3
Fatal error: Call to undefined function pcntl_wait() in /home/wilseayd/public_html/websockets/WebSocket.class.php on line 37
If I run http://www.wilsea.com/websockets/exampleChatRoom.html I get not connected to server.
Is there any other configuration I have to do ?
Cheers
SteveW