Article View: comp.misc
Article #138Re: PHP2Shell
From: Lawrence D’Oliveiro
Date: Sun, 25 Oct 2026 20:23
Date: Sun, 25 Oct 2026 20:23
22 lines
2279 bytes
2279 bytes
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.
Technical Details
Message-ID:
<11blofv$3u91s$3@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<6ad93fa7@news.ausics.net> <6add4482$1@news.ausics.net> <6add5a32@news.ausics.net> <6addd8f7$1@news.ausics.net>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Lawrence D’Oliveiro <ldo@nz.invalid> Newsgroups: comp.misc Subject: Re: PHP2Shell Date: Sun, 25 Oct 2026 20:23:28 -0000 (UTC) Organization: A noiseless patient Spider Lines: 22 Message-ID: <11blofv$3u91s$3@dont-email.me> References: <6ad93fa7@news.ausics.net> <6add4482$1@news.ausics.net> <6add5a32@news.ausics.net> <6addd8f7$1@news.ausics.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 25 Oct 2026 20:23:28 +0000 (UTC) Injection-Info: dont-email.me; logging-data="4138044"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193Xjz3JV0o7yPmxRQSMgVI"; posting-host="32bd69598bcd50cf5db5aab45470abe4" User-Agent: Pan/0.165 (Kostiantynivka) Cancel-Lock: sha1:TknWpUCNzdy0h+WWAuHRHYhouFI= sha256:jPeBHzbdfnkRr7mByh+j0A44KSrilywBpa2ckeeoa5E= sha1:LXeSxZxMhMXg7Rqla3eqmAbPLWE= sha256:sxW/AqaF5P/LqgpzbX23VEceyWtocxIqOrT8f2G5hyI=