Home > Backend Development > PHP Tutorial > Shallow CGI, FastCGI, PHP-CGI, PHP-FPM!

Shallow CGI, FastCGI, PHP-CGI, PHP-FPM!

青灯夜游
Release: 2023-04-09 11:12:02
forward
2505 people have browsed it

Shallow CGI, FastCGI, PHP-CGI, PHP-FPM!

Understanding of CGI and FastCGI

  • CGI and FastCGI are both communication protocols , is a bridge for communication between web Sever (Apache/nginx/iis) and other programs (this program is usually called a CGI program, such as a PHP script parser)

  • FastCGI is an improvement of CGI Evolved version, FastCGI is safer and has better performance than CGI, so now FastCGI protocol is used for communication

  • FastCGI is compatible with CGI

PHP-CGI and PHP-FPM

  • ##PHP-CGI is actually a PHP script parser, it is the implementation of the CGI protocol

  • PHP-FPM is the implementation of the FastCGI protocol

  • PHP-CGI and PHP-FPM are both programs

Execution process of CGI and FastCGI

  • CGI

    Shallow CGI, FastCGI, PHP-CGI, PHP-FPM!

  • FastCGI

    Shallow CGI, FastCGI, PHP-CGI, PHP-FPM!

Recommended related tutorials: "

PHP Tutorial"

The above is the detailed content of Shallow CGI, FastCGI, PHP-CGI, PHP-FPM!. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template