Issue
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
update
check this page href="http://net.tutsplus.com/tutorials/javascript-ajax/start-using-html5-websockets-today/" rel="nofollow noreferrer">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.
udate 2
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
update 3
another trial and nothing happened.
Solution
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.
Answered By - deceze Answer Checked By - Mary Flores (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.