CGI stands for the common gateway interface . It is a way , for a web server to run external applications .

Each application or script or whatever , will have a process created and destroyed for each request . The web server is in charge of creating and destroying the processes , and is the owner of the process .

Messages are transferred from the web server , to the application , using environment variables . nginx does not actually support CGI .

FastCGI stands for the fast common gateway interface .

The basic concept to get , is…

mohamad wael

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store