Okay haha I figured it was something like that. Thanks lennaert! Also, it's probably not normally possible to run PHP with Node Webkit without some sort of modification to Node Webkit itself, is there?
Still, thanks for the help on this subject! I'll definitely be needing to know these things when I set up my own game server.