Re: Why FastCGI?
| From: | Sam Hobbs | Date: | Thu, 25 Mar 2021 17:00:04 +0000 |
| Subject: | Re: Why FastCGI? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327524@lists.php.net to get a copy of this message | ||
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.