On 5/22/2011 8:25 PM, ABorka wrote:
Hi all,
I'm trying to get fcgi setup and running on my windows box so I can test
some of modules and I'm still try to figure out what I need to do.
A sample fcgi project produces an exception when run "Failed to open
input handle passed from server. Socket error 10038.".
I had thought that the fcgi server just started and waited for
connections from the webserver but it looks like it is trying to connect
to an assume socket as soon as it starts. Sorry, I can't tell exactly,
the ide won't let me debug down passed Application.Run line in the .lpr.
Not sure how I would debug like without it being started already...
Windows Vista, Lazarus snapshot a week or so old.
Thanks,
--
Warm Regards,
Lee
You need to specify the port your FCGI application will be listening on in your
project main file (.lpr):
.
.
.
Application.Title:='My FCGI Application';
Application.Port:=2015;//Port the FCGI application is listening on
Application.Initialize;
Application.Run;
.
Sweet. I was looking around for sample conf. file generated, lol. I did add a
new bug report suggesting that the comment above be added to newly created
FastCGI .lpr files:
http://bugs.freepascal.org/view.php?id=19398
Thank you,
--
Warm Regards,
Lee
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus