So I've been interested in web sockets. I've come across NODEJS but have found it's pretty complex to get all setup, so I've searched around more and come to this: http://www.flynsarmy.com/2012/02/php-websocket-chat-application-2-0/
I downloaded the "Final Script" which was a few files, it looked pretty simple to get started with but I still can't get it.
So I have putty as an SSH client, and I'm not even sure how to get my "server.php" file to work.
I connect to my website, enter username and password, it welcomes me and says "Any malicious and/or unauthorized activity is strictly forbidden.
All activity may be logged by DreamHost Web Hosting."
so I'm told that I have to type: php5 path/to/server.php
Okay, I type that and have a "-bash: php5: command not found"
Next I think: "okay, mabye I should just type 'php' instead of 'php5'"
So I do and it causes my putty client to stop allowing commands to be entered into the server (but I can still type them, I just don't get any responses/feedback from the session). So it's basically frozen.
Am I doing something wrong?