A simple PHP WebSocket server example. To run, open a terminal and type: php5 ./server.php Then visit index.html in your browser. You'll need IE10+, FF7+ or Chrome 14+ to run this example.
rapidness/PHPWebSocket-Chat
Flexable and extensible WebSocket chat application example with a PHP server.
PHP