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
Execution process of CGI and FastCGI
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!