logoalt Hacker News

runjakelast Thursday at 6:12 PM1 replyview on HN

> You can install Node and have a basic server running in a few seconds. PHP requires installing and setting up a server tied into FPM...

Without mentioning more, the PHP equivalent to your Node example is `php -S`.


Replies

chuckadamslast Thursday at 8:30 PM

Or FrankenPHP, or hell, there's still even good old Apache. Or avoid the SAPI interface entirely with servers in PHP like Workerman, AMPHP, or Swoole. FPM is entirely too fussy for me to bother with: its error handling is atrocious (restarting in an infinite loop with no backoff is common), and no one really knows how to tune it.

show 1 reply