Fcgi or ruby-fcgi on Windows-Xp

Hello,

Finally i’ve could install fcgi and ruby-fcgi on Windows-Xp.

The command to do it was:

gem install fcgi – --with-opt-dir=c:\fcgi --remote

or

gem install ruby-fcgi – --with-opt-dir=c:\fcgi --remote

Where c:\fcgi is the Fastcgi-development-kit installation directory.

Thanks to all for your help.

Javier A…

Javier A. wrote:

Hello,

Finally i’ve could install fcgi and ruby-fcgi on Windows-Xp.

The command to do it was:

gem install fcgi – --with-opt-dir=c:\fcgi --remote

or

gem install ruby-fcgi – --with-opt-dir=c:\fcgi --remote

Where c:\fcgi is the Fastcgi-development-kit installation directory.

Wow for some reason I’m not able to even build the fcgi library using
mingw. Where did you get those binaries? Did you compile them youself?

It appears that fcgi on windows is pretty rare [1]

You might get some traction with

gem install ruby-fcgi – --with-opt-dir=/fcgi --remote
or

gem install ruby-fcgi – --with-opt-dir=c:/fcgi --remote

if you’re using mingw.
-rp

[1] http://www.ruby-forum.com/topic/93383

Hi,

To use fcgi on Windows, you have to take next steps to install:

  1. Download an install Fastcgi-development-kit from www.fastcgi.com,
    i’ve installed it in C:/fcgi directory.(Last version is
    fcgi-2.4.0.tar.tar).

  2. Download last version of mod_fcgid.so and fcgi.so module from
    http://httpd.apache.org/download.cgi” and put it on apache/modules
    directory. (Last version is mod_fcgid-2.3.5-win32-x86.zip).

  3. install the fcgi gem from www.rubyforge.org or www.rubygems.org with
    gem install procedure (You need the --with-opt-dir directive to fcgi
    installation directory for the procedure work.)

I don’t know if Mingw install procedure is different. I have installed
Mingw (and Msys also) and also Cygwin, but i don’t use them too much,
because i always work better with Windows.

I use WSDK for Windows 7 and Netframework 3.5 to compile sources, but i
think in Windows is better to download binaries from some
web-site.Generally source-compilation ends with a lot of errors.Is
difficult not to miss any header file and i think the effort dont’s
whorty (I’ve really tried it so hard, but at last ¡i give up!, ¡dammned
Windows!.).

Javier A…

Roger P. wrote:

Javier A. wrote:

Hello,

Finally i’ve could install fcgi and ruby-fcgi on Windows-Xp.

The command to do it was:

gem install fcgi – --with-opt-dir=c:\fcgi --remote

or

gem install ruby-fcgi – --with-opt-dir=c:\fcgi --remote

Where c:\fcgi is the Fastcgi-development-kit installation directory.

Wow for some reason I’m not able to even build the fcgi library using
mingw. Where did you get those binaries? Did you compile them youself?

It appears that fcgi on windows is pretty rare [1]

You might get some traction with

gem install ruby-fcgi – --with-opt-dir=/fcgi --remote
or

gem install ruby-fcgi – --with-opt-dir=c:/fcgi --remote

if you’re using mingw.
-rp

[1] http://www.ruby-forum.com/topic/93383

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs