Connect4-Websockets is a project mainly written in PHP, it's free.
Connect4 using websockets
To configure the game, edit the in index.php on line 26 and edit on line 101 in server.php to match.
To run the server, run 'php -q server.php' from the command line.