[[FastCGI]]


Words | Servers | AppLibs | Mail | Home
[FastCGI Home Page]

FastCGI Perl-5 Binaries

To install the compiled version of Perl-5 with FastCGI support follow these steps:
  1. Download the appropriate tar file for your architecture

  2. cd into /usr/local and unpack the tar file.
    	> cd /usr/local
    	> zcat perl5-solaris.tar.Z | tar xvf - 
    This creates a directory perl5-fcgi which contains the Perl executables and all the needed library files. If you do not want this to live in /usr/local/perl5-fcgi you have three choices:

    1. Unpack the tar file somewhere else and make a symbolic link from /usr/local/perl5-fcgi, for example
      > cd /opt
      > zcat perl5-solaris.tar.Z | tar xvf -
      > ln -s /opt/perl5-fcgi /usr/local/perl5-fcgi
      
    2. Unpack the tar file somewhere else and use the PERL5LIB environment variable to let Perl know where to get library files. You must set PERL5LIB in the initial environment whenever you run this Perl. For instance, suppose you are running on HP-UX and you unpack the tar file in /udir/doe; you'd set PERL5LIB to
      /udir/doe/perl5-fcgi/lib:/udir/doe/perl5-fcgi/lib/PA-RISC1.1/5.002
      
      On other platforms, the path segment PA-RISC1.1 would be something else; look in the lib directory of your Perl kit to figure this out.

    3. Compile Perl from sources and specify a different install location. See doc/fcgi-perl.htm in the FastCGI Developer's Kit.

  3. Start writing FastCGI scripts in Perl! For more information on how to do this, read doc/fcgi-perl.htm in the FastCGI Developer's Kit.


Words | Servers | AppLibs | Mail | Home