[fpc-pascal] How to use FCGI in threaded mode?

Michael Schnell mschnell at lumino.de
Fri Jan 30 11:24:37 CET 2015

On 01/30/2015 08:46 AM, Michael Van Canneyt wrote:
> Only if you use proxy fastcgi (i.e. a separately running binary 
> listening on a fixed port, not started in Apache), then threading may 
> be useful.
Am I wrong thinking, that using "proxy FCGI" projects are a lot easier 
to manage, anyway, as here you can use normal debugging means (e.g. 
Lazarus) ? And with a permanently running  independent executable, you 
also can do a lot of stuff that might be difficult to accomplish with a 
program started and killed by the Server.

Hence, when considering doing a CGI in fpc (a project which I finally, 
did not start though) I decided to use proxy CGI.

A problem might be that (AFAIK) IIS does not support proxy FCGI.


More information about the fpc-pascal mailing list