Re: Why FastCGI?
[email protected] (Sam Hobbs)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
In addition to my previous reply I wanted to make it clear what a CGI
script is. They get their input in a couple of ways but the one that is
relevant here is Standard Input. Output is written to Standard Output.
And the PHP compiler does that; it just reads Standard Input (then
executes PHP code) and writes to Standard Output. See the following for
samples of CGI scripts in other languages.
* Simple CGI Scripts - How CGI Scripting Works | HowStuffWorks
<https://computer.howstuffworks.com/cgi3.htm>
* PERL and CGI Tutorial - Tutorialspoint
<https://www.tutorialspoint.com/perl/perl_cgi.htm>
Andrey Repin wrote on 3/25/2021 2:06 AM:
> CGI is a protocol of exchanging information between client and server.