it says it clearly in the heading. I want a way to run a websocket server in apache server that comes with Wamp 2.1
check this page http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/ look at step 9 where it describes how to run a websocket server. that's for XAMPP. I want to do it in WAMP. Sorry if it was unclear.
I tried to run it as in the photo but ,as you see, I'm doing that wrong. sorry guys I'm not good at command lines. could you please show me the exact way to run the websocket-server
another trial and nothing happened.
The only thing you need is a shell/terminal/command line (whatever your operating system of choice calls it) in which you type:
php -q /path/to/your/script.php
Where php
is the path to the PHP executable followed by the option -q
followed by the path to your script. This doesn't really depend on (X/W/M)AMP much.