News for hackers. Stuff that matters.
Re:Inline PHP-FPM Server Running on Node.js by TamDenholm on Tuesday March 29, 2011 @07:32AM (#2382190)
One other way might be to use phpjs.org, albeit a less complete version of it.
Re:Inline PHP-FPM Server Running on Node.js by davidcoallier on Tuesday March 29, 2011 @07:33AM (#2382194)
PHPJS emulates PHP but can't run PHP scripts :)
Re:Inline PHP-FPM Server Running on Node.js by ldng on Tuesday March 29, 2011 @07:51AM (#2382233)
Node.js neither. It merely passes the request to PHP-FPM. Neat hack but I fail to take it seriously. I don't see the benefit. Maybe I missed something.
Re:Inline PHP-FPM Server Running on Node.js by joelhaasnoot on Tuesday March 29, 2011 @09:32AM (#2382501)
Node.js is low-level enough to do some protocol things fast enough PHP can't. I can imagine building a load balancer or proxy to PHP. Yes, it's probably not the best solution, but it could be done.
Re:Inline PHP-FPM Server Running on Node.js by davidcoallier on Tuesday March 29, 2011 @07:54AM (#2382238)
In this case Node.js acts as the webserver as Nginx or Apache would.