3

I noticed there are a couple of modules for Apache that provide FastCGI support. The two most popular seem to be mod_fastcgi and mod_proxy_fcgi. There seem to be other ones as well.

My questions are:

  • Which of these module are the most popular?
  • Which of them are considered obsolete.

The reason I am asking is that I'm writing FastCGI support for a certain scripting language and I wonder which setups I should primarily test with.

Granted, FastCGI is a standard so, in theory everything should be portable. On the other hand, there seem to be certain differences concerning application server start-up, etc. I would also like to write some "how-to's" once I'm finished, so I would like to know which options to cover primarily.

Hope this is not an open-ended question.

julkiewicz
  • 141
  • 1
  • 7

1 Answers1

1

They are just different modules. mod_fastcgi manages started processes while mod_proxy_fcgi uses already set up installation. For example if you are using php-fpm you need to select mod_proxy_fcgi.

kworr
  • 1,055
  • 8
  • 14
  • So there is no way to run php-fpm with mod_fastcgi? – julkiewicz Sep 30 '13 at 20:56
  • No, it's possible: https://blogs.oracle.com/opal/entry/php_fpm_fastcgi_process_manager. But you need to type more and you will miss most of the module functionality. – kworr Oct 01 '13 at 04:24