On 25 Oct 2026 20:24:55 +1000, noel wrote:
> ... sangoma are slack arses and dont use fast-cgi, just mod_php...
You mean PHP-FPM rather than FastCGI? PHP-FPM reimplements the entire
(Apache-specific) mod_php environment within a standalone process,
using FastCGI to communicate with the web server. This allows PHP code
written to run with mod_php to work with other web servers, so long as
they have FastCGI support.
As far as I know, nobody else uses FastCGI for anything.
> ...but its far more memory efficient anyway than f/cgi which is I
> guess why they stuck with it.
Interesting to know ... but the right way to do things is to run your
code in its own process anyway, with its own mini-HTTP server to
communicate with the “real” web server via what they call a “reverse”
proxy. That works with any web server, is language-independent (so
long as you have a decent basic HTTP server library to call on), and
leaves you free to manage your own event loop, with support for
arbitrary background tasks etc.