in reply to Perl Win32 Apache & mod_fcgid not working

Do not use mod_fcgid with perl on MS Windows as it simply does not work.

I recommend using mod_fastcgi instead - you can get binaries (built for Apache 2.2.x by me) from http://strawberryperl.com/package/kmx/mod_fastcgi/

As for the shebang line you'd better use the full path to your perl.exe, just replace backslashes for slashes e.g.

#!c:/usr/bin/perl.exe

Another useful URL might be Catalyst+Apache+FastCGI on MS Windows

--
kmx

  • Comment on Re: Perl Win32 Apache & mod_fcgid not working

Replies are listed 'Best First'.
Re^2: Perl Win32 Apache & mod_fcgid not working
by Anonymous Monk on Jan 30, 2011 at 22:24 UTC

    Do not use mod_fcgid with perl on MS Windows as it simply does not work.

    OK - why odes it not work ? what is broken ? currently mod_fcgid is the official way to use fastcgi on apache and mod_fastcgi is old ...

    anyway thanks for the link, I will check it - I had many problems with mod_fastcgi

      The article linked doesn't explain why
      For running Catalyst application as FastCGI on Apache/Win32 you have to choose mod_fastcgi (the author of this article did not manage after many tries to run catalyst app via mod_fcgid).

       

      If you're quoting someone, use

      <blockquote> the quote </blockquote> your response
      or
      <i> the quote </i> <p>your response
      <dl<dt> the quote </dt> <dd> your response </dd></dl>

        The reason for not using mod_fcgid is simple -

        Something is broken in the way mod_fcgid "talks" with perl on Win32. If perl on Win32 was popular someone would have fixed it, probably no one needs it...