Hey Craig,
NowJS automatically parses and renders the server and port for the server when you access now.js from
http://yourserver:port/nowjs/now.js
Important note: now.js as loaded from the server, is not the same as now.js in github. It is in fact nowUtil.js prepended to now.js
So whatever port and host you are running nowjs on, go to
http://yourserver:port/nowjs/now.js and download that file.
Host that file as your client lib in your LAMP stack and you'll be good to go.
Eric