What is FastCGI

From PHP-FPM

Jump to: navigation, search

FastCGI is a high-speed and scalable interface for communicating with the web server scripting language. More information about FastCGI can be found on the official website or on Wikipedia.

FastCGI is supported by many scripting languages, including php, if it is compiled with the option - --enable-fastcgi.

FastCGI is supported by most popular web servers, including Apache (mod_fastcgi and mod_fcgid), Zeus, nginx and lighttpd.

The main advantage of FastCGI is isolating the dynamic language from the web server. The technology, among other things, allows you to run a web server and dynamic language for the different hosts, which improves scalability and also aids security without a significant loss of productivity.

PHP-FPM works on with any web server that supports FastCGI.