11
This might give you a broader understanding of their difference:
這可能會讓您更廣泛地了解它們之間的差異:
CGI: (common gateway interface) It is a specification "protocol" for transferring information between a Web server and a CGI program.
CGI :(公共網關接口)它是用於在Web服務器和CGI程序之間傳輸信息的規范“協議”。
A CGI program is any program designed to accept and return data that conforms to the CGI specification.
CGI程序是任何旨在接受和返回符合CGI規范的數據的程序。
Basically it's a way to run a server side script (PHP, Perl, Python,...) when a HTTP request comes.
基本上,它是一種在HTTP請求到來時運行服務器端腳本(PHP,Perl,Python,...)的方法。
CGI is very slow in comparison to other alternatives.
與其他替代方案相比,CGI非常緩慢。
FastCGI: is a better CGI.
FastCGI:是一個更好的CGI。
Fast CGI is a different approach with much faster results.
快速CGI是一種不同的方法,結果更快。
It is a CGI with only a few extensions.
這是一個只有少數擴展的CGI。
FastCGI implementation isn’t available anymore, in favor of the PHP-FPM.
FastCGI實現不再可用,支持PHP-FPM。
PHP-FPM: (FastCGI Process Manager), it's a better FastCGI implementation than the old FastCGI.
PHP-FPM:(FastCGI Process Manager),它比舊的FastCGI更好的FastCGI實現。
It runs as a standalone FastCGI server.
它作為獨立的FastCGI服務器運行。
In general it's a PHP interface for the web servers (Apache, Nginx..) to allows Web Server to interact with PHP.
通常,它是Web服務器(Apache,Nginx ..)的PHP接口,允許Web Server與PHP交互。
Unlike the PHP-CLI which is a command line interface for PHP to allows Users to interact with PHP via terminal.
與PHP-CLI不同,后者是PHP的命令行界面,允許用戶通過終端與PHP進行交互。
mod_php: an Apache module to run PHP.
mod_php:運行PHP的Apache模塊。
It execute PHP scripts inside the Web Server directly as part of the web server without communicating with a CGI program.
它直接在Web服務器中執行PHP腳本,作為Web服務器的一部分,而無需與CGI程序通信。
mod_SuPHP: is similar to mod_php but can change the user/group that the process runs under.
mod_SuPHP:類似於mod_php,但可以更改進程運行的用戶/組。
Basically it address some problems of mod_php related to permissions.
基本上它解決了與權限相關的mod_php的一些問題。