![]() |
|
"be consistent" | |
PerlMonks |
Perl FCGI Error: mod_fcgid: error reading data from FastCGI serverby knox (Sexton) |
on Jan 27, 2020 at 20:40 UTC ( #11111940=perlquestion: print w/replies, xml ) | Need Help?? |
knox has asked for the wisdom of the Perl Monks concerning the following question: Hello Monks, Your wisdom once again is appreciated. I've been testing some FCGI scripts, I've managed to get CGI::Fast working, but I'd like to get FCGI working. Unfortunately, I haven't be able to find good working examples. I'd like to see an example of FCGI return $ENV vars, similar to the CGI::Fast used in the Apache example: https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html. The code posted below is just me trying to get something to work, it is giving an internal server error. I've posted this is from my error log:
Aside from that, I have a very basic question with FastCGI - as it keeps a persistent connection, whats the best way to temporarily test it? I am new to FastCGI, it is compelling, but I don't know the vernacular to describe it well (yet). Let me know if the above doesn't make sense. Secondly, is there a way to get more descriptive error messages than the ones that come out of apache.log? And yes! I will look into frameworks like Plack/Dancer - but before I do, I'd like to get grasp of how FCGI works before I put a layer on top of it.
Back to
Seekers of Perl Wisdom
|
|