[Lazarus] CGI Application do not enable Run (F9) button

Michael Van Canneyt michael at freepascal.org
Mon Jun 4 07:54:45 CEST 2018



On Sun, 3 Jun 2018, Marcos Douglas B. Santos via Lazarus wrote:

> I've just clicked in New>CGI Application to create a new project and the
> Run(F9) button is disabled.
> However, If I choose FastCGI instead, the button stay enabled.
>
> Is this a bug or a kind of restriction?

You cannot run a CGI program in the IDE. It expects a server environment.
If you attempt to run it in the IDE, you'll get an error 'no REQUEST_METHOD
passed from server' or something like it.

Michael.


More information about the Lazarus mailing list