What
connect middleware to pass requests to FastCGI server process.
Why
Because PHP-FPM. Yes, that's right, it's insanity, but I need it, mainly for development and automated testing tasks I do with grunt and simple node.js scripts.
This module is a stripped down version of this https://github.com/davidcoallier/node-php server converted to connect middleware. It was then modified to support POST and PUT, pass required headers etc.
How
var connect = php = ; var app = ;
Available options:
root:
root directory for scriptsfastcgiHost:
host or socket path to FastCGI processfastcgiPort:
port
Thanks
David Coallier for original node-php module