News for hackers. Stuff that matters.
Re:Inline PHP-FPM Server Running on Node.js by arnorhs on Tuesday March 29, 2011 @08:09AM (#2382272)
Any possible benefits of doing this with node.js rather than just the normal nginx setup? Maybe if you're just running a simple node.js app but need to include one single-file php script? I guess that would be useful.

Interesting concept. I like projects like this.

It's also refreshing to see an article on HN mentioning PHP without it being something negative.

Re:Inline PHP-FPM Server Running on Node.js by lftl on Tuesday March 29, 2011 @08:38AM (#2382348)
Maybe this let you edit the PHP output in nodejs after receiving it back from PHP-FPM?
Re:Inline PHP-FPM Server Running on Node.js by arnorhs on Tuesday March 29, 2011 @09:48AM (#2382561)
Good point. That might be possible.
Re:Inline PHP-FPM Server Running on Node.js by KrisJordan on Tuesday March 29, 2011 @09:32AM (#2382505)
Being able to pop into terminal, create a directory and a PHP file, then run node-php to get a test server running in this new setup is an efficient way to try code out. If the built-in PHP web server were standard this would be less useful.
Re:Inline PHP-FPM Server Running on Node.js by arnorhs on Tuesday March 29, 2011 @09:47AM (#2382557)
But you'd probably be quicker to get nginx up and running - so I was wondering if there were any benefits beyond a nginx/php-fpm setup
Re:Inline PHP-FPM Server Running on Node.js by electrum on Tuesday March 29, 2011 @01:45PM (#2383598)
How is this easier than putting a file in your public_html directory for use with Apache, which is included with OS X or Linux?