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.

A CGI program is any program designed to accept and return data that conforms to the CGI specification.

Basically it's a way to run a server side script (PHP, Perl, Python,...) when a HTTP request comes.

CGI is very slow in comparison to other alternatives.


FastCGI: is a better CGI.

Fast CGI is a different approach with much faster results.

It is a CGI with only a few extensions.

FastCGI implementation isn’t available anymore, in favor of the PHP-FPM.


PHP-FPM: (FastCGI Process Manager), it's a better FastCGI implementation than the old FastCGI.

It runs as a standalone FastCGI server.

In general it's a PHP interface for the web servers (Apache, Nginx..) to allows Web Server to interact with PHP.

Unlike the PHP-CLI which is a command line interface for PHP to allows Users to interact with PHP via terminal.


mod_php: an Apache module to run PHP.

It execute PHP scripts inside the Web Server directly as part of the web server without communicating with a CGI program.


mod_SuPHP: is similar to mod_php but can change the user/group that the process runs under.

Basically it address some problems of mod_php related to permissions.

最新文章

  1. Linux 入门之修改主机名
  2. 【C#】析构函数
  3. 05-String动手动脑问题及课后实验性问题总结
  4. Xamarin.Android之MvvmCross
  5. spring 学习
  6. Android 开源框架Universal-Image-Loader完全解析(二)--- 图片缓存策略详解
  7. POJ 1661
  8. ORA-00911无效字符报错
  9. Java多线程——<四>让线程有返回值
  10. 【C#学习笔记】读文件
  11. json分别算出元素的个数和最多的元素
  12. 线程本地存储(Thread Local Storage, TLS)简单分析与使用
  13. OD: Kernel Vulnerabilities
  14. No suitable authentication method found to complete authentication (publickey,keyboard-interactive).
  15. Hongwei Xi
  16. 【bfs】 poj 3984 maze 队列存储
  17. JSSDK微信自定义分享
  18. 关于React中状态保存的研究
  19. C++中的new/delete
  20. unity Camera第一人称移动,3中方法实现

热门文章

  1. salesforce lightning零基础学习(十) Aura Js 浅谈三: $A、Action、Util篇
  2. ssh的两个小知识
  3. ES启动报错最大进程数太少
  4. go互斥锁Mutex
  5. Maven教程3(依赖管理)
  6. SpringMVC教程3
  7. CentOS安装Memcached
  8. [SPOJ22343] Norma
  9. css布局------左边宽度不定,右边宽度自动填满剩余空间
  10. Java字符串String