Fastcgi and PHP-FPM

First of all, what does CGI do? CGI is to ensure that the data passed by the web server is in a standard format, which is convenient for the writers of CGI programs.

web server (such as nginx